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 Paranormal_Steve · Dec 04, 2012 at 02:43 PM · xcodestuckupgradesplash-screenunity 3.5

App stuck on splash screen. Exception on applicationDidFinishLaunching. Xcode 4.5 and Unity 3.5.6

Thanks for taking the time to read! I've been all over the internet with no luck so far so I made an account in hopes someone might know the answer.

A mobile app for my company stopped working when the provisioning profiles went out. The project is old (about 2 years ago) and needed to be upgraded to make a new build as it seems to old XCode projects and Xcode 4.5 don't get along.

After upgrading the project runs fine in the editor. However when I try to put on my iPad (4.3 iOS) I get the following issue in Xcode that causes the app to become hung on the splash screen:

 2012-12-04 09:19:07.881 epp13[254:607] -> registered mono modules 0xad5e18
 2012-12-04 09:19:07.954 epp13[254:607] -[AppController applicationDidFinishLaunching:]: unrecognized selector sent to instance 0x1561610
 2012-12-04 09:19:08.242 epp13[254:607] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[AppController applicationDidFinishLaunching:]: unrecognized selector sent to instance 0x1561610'
 *** Call stack at first throw:
 (
     0   CoreFoundation                      0x3468464f __exceptionPreprocess + 114
     1   libobjc.A.dylib                     0x36b77c5d objc_exception_throw + 24
     2   CoreFoundation                      0x346881bf -[NSObject(NSObject) doesNotRecognizeSelector:] + 102
     3   CoreFoundation                      0x346878ad -[NSObject(NSObject) forwardInvocation:] + 36
     4   CoreFoundation                      0x3468768d ___forwarding___ + 576
     5   CoreFoundation                      0x345fe180 _CF_forwarding_prep_0 + 48
     6   epp13                               0x00555cfc -[AppController(PushAdditions) application:didFinishLaunchingWithOptions:] + 192
     7   UIKit                               0x34c2d821 -[UIApplication _callInitializationDelegatesForURL:payload:suspended:] + 772
     8   UIKit                               0x34c27b65 -[UIApplication _runWithURL:payload:launchOrientation:statusBarStyle:statusBarHidden:] + 272
     9   UIKit                               0x34bfc7d7 -[UIApplication handleEvent:withNewEvent:] + 1114
     10  UIKit                               0x34bfc215 -[UIApplication sendEvent:] + 44
     11  UIKit                               0x34bfbc53 _UIApplicationHandleEvent + 5090
     12  GraphicsServices                    0x33d54e77 PurpleEventCallback + 666
     13  CoreFoundation                      0x3465ba97 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 26
     14  CoreFoundation                      0x3465d83f __CFRunLoopDoSource1 + 166
     15  CoreFoundation                      0x3465e60d __CFRunLoopRun + 520
     16  CoreFoundation                      0x345eeec3 CFRunLoopRunSpecific + 230
     17  CoreFoundation                      0x345eedcb CFRunLoopRunInMode + 58
     18  UIKit                               0x34c26d49 -[UIApplication _run] + 372
     19  UIKit                               0x34c24807 UIApplicationMain + 670
     20  epp13                               0x00008cb0 main + 140
     21  epp13                               0x00003e18 start + 40
 )
 terminate called after throwing an instance of 'NSException'

The plugins currently on the projects are Etcetera, iTween, ObjectiveJS, and XMLParser.

Any ideas? Something that might help that I didn't mention? Any help is greatly appreciated.

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

1 Reply

· Add your reply
  • Sort: 
avatar image
1
Best Answer

Answer by Paranormal_Steve · Dec 04, 2012 at 04:56 PM

Ended up finally figuring it out. I went to the AppControllerPushAdditions.m file for Etcetera and found the lines:

 - (BOOL)application:(UIApplication*)app didFinishLaunchingWithOptions:(NSDictionary*)launchOptions
 {
     // handle remote notification
     NSDictionary *dict = [launchOptions objectForKey:UIApplicationLaunchOptionsRemoteNotificationKey];
     if( dict )
         [self performSelector:@selector(handleNotification:) withObject:dict afterDelay:5];
     
     // let Unity take it from here
     [self applicationshLaunching:app];
     
     return YES;
 }

By changing [self applicationshLaunching:app]; to [self startUnity:app]; the app runs again. Hope this helps somebody in the future!

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

9 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

uniscite go to line error 3.5 1 Answer

Xcode Crashes on Launch: SplashScreen updateOrientation 1 Answer

xcode 4 lets unity ios basic bypass forced unity splash screen 2 Answers

Unity 2018.2.21 iOS Build Stuck in xCode 1 Answer

Getting Unity to include .h files 0 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