App doesn't start on iPhone 4

5 replies [Last post]
losqut
User offline. Last seen 9 years 24 weeks ago. Offline
Joined: 05/30/2012
Posts:

Hello,

I added GPUImage to my project as described in manual. All works great on my iPhone 3gs, video capture starts. Then I send build to testers with iPhone 4. They can't start application, it just opens and closes.

Brad Larson
Brad Larson's picture
User offline. Last seen 4 years 51 weeks ago. Offline
Joined: 05/14/2008
Posts:

I'm guessing these users are running iOS 4.0? Have you checked to make sure that you've weak-linked the Core Video framework, as described in the installation instructions within the documentation?

Quote:

Also, if you need to deploy this to iOS 4.x, it appears that the current version of Xcode (4.3) requires that you weak-link the Core Video framework in your final application or you see crashes with the message "Symbol not found: _CVOpenGLESTextureCacheCreate" when you create an archive for upload to the App Store or for ad hoc distribution. To do this, go to your project's Build Phases tab, expand the Link Binary With Libraries group, and find CoreVideo.framework in the list. Change the setting for it in the far right of the list from Required to Optional.

losqut
User offline. Last seen 9 years 24 weeks ago. Offline
Joined: 05/30/2012
Posts:

Yes I did it. And users mostly have iOS 5.x. My XCode version is 4.2.

Brad Larson
Brad Larson's picture
User offline. Last seen 4 years 51 weeks ago. Offline
Joined: 05/14/2008
Posts:

OK, you'll somehow need to get the console log and / or crash logs from these devices to diagnose this further. If you'd like, you could contact me at the address at the bottom of the page and I could try running a build of your application on the iPhone 4 test unit I have here.

losqut
User offline. Last seen 9 years 24 weeks ago. Offline
Joined: 05/30/2012
Posts:

Ok, I've just sent you invite from the testflightapp.com service. Thanks for help

Brad Larson
Brad Larson's picture
User offline. Last seen 4 years 51 weeks ago. Offline
Joined: 05/14/2008
Posts:

Just tried this out on my iPhone 4 running iOS 5.0 and it starts and runs just fine. I force-quit it and restarted it manually, and it still worked. It doesn't look like something related to iOS 5.0 or the device specifically. Aside from your normal debugging log statements, I see no errors on the console when I run this on my test device.

Are you sure that the crashes aren't happening just on iOS 4.x? Could there be some memory-related issues within your application's startup process that might be appearing on certain devices after they've been used for a while? My test device has nothing on it, and it's only used for compatibility testing.

Syndicate content