Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by john.sahas · Jun 19, 2015 at 03:56 AM · iosxcode

ISN_GameCenterManager.mm - No matching function for call to 'UnitySendMessage'

I upgraded Unity, Xcode, and IOS Native (Stan's Assets) to try to get all clean and ready for a pre-beta build. Decided to do it now and make it the last update. Now I can't build in Xcode...

I noticed an error in Unity immediately that there were 2 GameCenterManager.cs files after updating IOS native. I deleted what appeared to be the old one. The project builds fine in Unity but Xcode is giving me errors in this ISN_GameCenterManager.mm file. I don't know if this is a unity, Xcode, or Stan's Assets issue. Sorry, but I needed to ask here to find out. Any help is greatly appreciated. Has anyone ever seen any issue with this file?


ERROR: ARC Semantic Issue No known class method for selector 'serializeErrorToNSString:'

CODE: NSString* errorData = [ISNDataConvertor serializeErrorToNSString:error];


ERROR: ARC Semantic Issue No known class method for selector 'serializeError:'

CODE: UnitySendMessage("GameCenterManager", "OnFriendListLoadFailEvent", [ISNDataConvertor serializeError:error]);


ERROR: Semantic Issue No matching function call to 'UnitySendMessage'

CODE: UnitySendMessage("GameCenterManager", "OnFriendListLoadFailEvent", [ISNDataConvertor serializeError:error]);


ERROR: ARC Semantic Issue No known class method for selector 'serializeErrorWithData:code:'

CODE: UnitySendMessage("GameCenterManager", "OnFriendListLoadFailEvent", [ISNDataConvertor serializeErrorWithData:@"User has to be authenticated to perform friends load operation" code:0]);


ERROR: Semantic Issue No matching function call to 'UnitySendMessage'

CODE: UnitySendMessage("GameCenterManager", "OnFriendListLoadFailEvent", [ISNDataConvertor serializeErrorWithData:@"User has to be authenticated to perform friends load operation" code:0]);


* EDIT:

It appears while updating the IOS Native plugin, Unity did not overwrite some files. Instead copies were made with numbers appended. These files worked their way into the IOS build which then confused Xcode. I've reverted to an earlier changelist and I'm trying to sort it out. This is just a local issue due to a bad update on my end (failing to follow release update instructions).

So this probably isn't the place for this question. If anyone has similar issues, read the release notes on IOS Native update and remove the indicated files/folders before updating. Cheers.

Comment
Add comment · Show 5
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image idioti · Jun 26, 2015 at 08:52 AM 0
Share

Hey, did you find a way to fix this error, I have the same issue?

avatar image john.sahas · Jun 26, 2015 at 09:07 AM 0
Share

If you recently updated the Stan's Assets iOS Native plugin, then be sure to read the release notes. It lists files that have to be deleted before doing the update (otherwise Unity will make copies of them ins$$anonymous$$d of overwriting them, and it will mess up the xcode build).

I hadn't updated the plugin in a while so there were also additional files that I had to delete that weren't listed in the update notes (I suppose they were listed in the notes from the previous update that I had missed).

The additional files I had to delete before doing the update (that weren't listed in the release notes) were: - iAdBannerObject.cs - ISNDataConverter.cs

I had my depot in git so I reverted all my changes, deleted the files listed in the update notes, also deleted these additional files, then did the update of the plugin, then rebuilt everything and it was good. I had to delete the .h and .mm files as well as the .meta files for all the .cs files I deleted also before the build was completely clean and ready for the plugin update.

Hope this helps.

avatar image idioti · Jun 26, 2015 at 09:37 AM 0
Share

Thank you very much, I will try now and get back with the results.

avatar image idioti · Jun 26, 2015 at 11:08 AM 0
Share

Hey, did you solve your problem, I have the same issue?

avatar image uniwersytetgier · Jul 10, 2015 at 03:42 PM 0
Share

Hello Guys, Also we have the same issue.. Did you solve this problem?

0 Replies

· Add your reply
  • Sort: 

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

4 People are following this question.

avatar image avatar image avatar image avatar image

Related Questions

Xcode build & run "innocent" (?) problem 0 Answers

iOs Build and run does not automatically run the game 1 Answer

Missing File Warnings in Xcode 1 Answer

Building For IOS Xcode Issue 0 Answers

Is it possible to capture the iOS GPU frame time using XCode or XCode Instruments? 2 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges