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 TheGeoff · May 21, 2012 at 08:02 PM · ioscrashstartupxcode 4.2

Weird Crash after Upgrading to 3.5.2

I started working with my project after upgrading to Xcode 4.3.2 and Unity 3.5.2 and I'm having a really weird crash. When building and running I get this:

 -> registered mono modules 0xd3f270      
  -[AppController applicationDidFinishLaunching:]: unrecognized selector sent to instance 0x1d53c10    
  Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[AppController applicationDidFinishLaunching:]: unrecognized selector sent to instance 0x1d53c10'

It looks like UIApplicationMain(argc, argv, nil, @"AppController"); is calling the deprecated :
-(void) applicationDidFinishLaunching:(UIApplication*)application**

instead of:
- (BOOL)application:(UIApplication*)application didFinishLaunchingWithOptions:(NSDictionary*)launchOptions

I verified this by copying the applicationDidFinishLaunching method from AppController.mm that I had in and old build and remmed out the didFinishLaunchingWithOptions method that was already there. The game launched and worked but having to hand edit the AppController.mm file makes me really nervous about what else might be wrong.

Does anybody have any clue what might be going on? This is a fairly mature project that had been working. I have the SDK set to the latest 5.1 and the target was set at 4.1 but I changed that to 4.3 to test (no difference).

Thanks,
Geoff

Comment
Add comment · Show 1
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 dannyskim · May 21, 2012 at 09:30 PM 0
Share

Only thing I can think of off the type of my head is that XCode is using your old project that you built. When you 'Build & Run', you could be pressing the 'Append' button ins$$anonymous$$d of 'Replace,' which would purposefully keep your old appcontroller file. I, at the time when I upgarded, didn't know of any easy way of getting around this so I replaced my existing XCode project and reintegrated all my code changes and plug-ins.

1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by TheGeoff · May 22, 2012 at 08:08 PM

Turns out I way having Plugin Problems. I've got several Prime31 plugins I've been updating over the last few months. I must have ended up with some cruft in there. I deleted all the Plugin related files and re-imported them from the latest. Working great now. That'll go on my "Troubleshooting Weird Issues List.

Comment
Add comment · Share
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

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

5 People are following this question.

avatar image avatar image avatar image avatar image avatar image

Related Questions

iPad: Line Renderer causes crash on on startup 0 Answers

Line Renderer causes crash on iPad on Startup 0 Answers

iOS Memory Handling Crash on Startup 0 Answers

Getting a crash on iOS Metal devices but not on equivalent iOS non-metal devices. 1 Answer

Large resouce folder iOs crash at startup 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