Discussion Forums  >  Uncategorized

Replies: 3    Views: 670

AlmaR
Lost but trying
Profile
Posts: 73
Reg: Jun 13, 2011
location unknow...
5,630
06/17/11 04:20 PM (14 years ago)

App Working fine in Simulator, loads to iPhone but then freeze - Please Help!

Hey guys, could you please help me with this: I made an IOS app using BT V1.5. The app works fine in the simulators (I´m using Xcode 4) but when I run it in my 3g Jailbroken iPhone with 4.2.1 it just open the app homepage and then it freezed, I can only press the home button to exit the app. To run the app on the iPhone, in the Code Signing Identity I leave Don´t Code Sign to everything except Debug--> Any SDK where I put my iPhone Developer Profile in both Project and Target. I have tried lots of combinations. The previous errors that I had before I got stucked were: - error because I changed the name of the app Identifier when I created my App ID in Apple Developer web. As I wasnt able to Sign my app using this Profile I changed the Identifier from my project, then I was able to load it to the iPhone and but it freezed and doing this also make my simulator to freeze (thats when I realized that I need to use the same Identifier). I changed it to the original and made a new App ID. - certificate error. When I made my new App ID I also made a new Certificate. Then I had 2 certificate and they were making errors, I deleted both and make a third one. Problem solved. So what do you think is my error now? Jailbroken iPhone? All the mess up that I did before? Hopefully somebody can help me. Below is what the console says when I load the app to the iPhone: warning: Unable to read symbols for /Library/MobileSubstrate/MobileSubstrate.dylib (file not found). warning: Unable to read symbols for /Library/Frameworks/CydiaSubstrate.framework/Libraries/SubstrateLoader.dylib (file not found). warning: Unable to read symbols for /Developer/Platforms/iPhoneOS.platform/DeviceSupport/4.2.1 (8C148)/Symbols/usr/lib/info/dns.so (file not found). warning: Unable to read symbols for /Library/MobileSubstrate/DynamicLibraries/Activator.dylib (file not found). warning: Unable to read symbols for /Library/MobileSubstrate/DynamicLibraries/GPSSerialHook.dylib (file not found). warning: Unable to read symbols for /Developer/Platforms/iPhoneOS.platform/DeviceSupport/4.2.1 (8C148)/Symbols/usr/lib/libsubstrate.dylib (file not found). warning: Unable to read symbols for /Library/MobileSubstrate/DynamicLibraries/IntelliStatusIconsView.dylib (file not found). [Switching to process 13059 thread 0x0] [Switching to process 11523 thread 0x0]
 
David @ buzztouch
buzztouch Evangelist
Profile
Posts: 6866
Reg: Jan 01, 2010
Monterey, CA
78,840
like
06/17/11 11:05 PM (14 years ago)
The crashign is not related to the certificates, this isn't the problem. The certifcates are used to 'allow' or 'prevent' you from installing the software on the device, they have nothing to do with the way the software runs after it's already been installed. So, you installed it on the device, this is good. I have zero experience with Jailbroken phones. Never done it. The errors you list above are 100% for sure related to this. CydiaSubstrate.framework and MobileSubstrate.dylib are jailbroken libraries. I have no idea if this is why your app crashes but I'll be it is. A guy a few months ago (on this forum) could not get his jailbroken phone to run his app either, I'll bet that's the issue here too. Maybe somebody with some jailbroken experience can add to this thread and help out @ AlmaR.
 
AlmaR
Lost but trying
Profile
Posts: 73
Reg: Jun 13, 2011
location unknow...
5,630
like
06/18/11 08:58 AM (14 years ago)
Thanks David! I will try my app on a non-jailbroken iPod and let you know how it goes.
 
AlmaR
Lost but trying
Profile
Posts: 73
Reg: Jun 13, 2011
location unknow...
5,630
like
06/20/11 09:29 AM (14 years ago)
Problem solved! I tried my app on the non-jailbroken iPod but I had the same problem so I deleted my project and downloaded it again from BT. After that all went smooth, it worked on both non-jailbroken iPod and jailbroken iPhone. I have uploaded it to App Store and now I´m waiting for review. I will post it here once it is approved. I still don´t know what was my problem, but it is solved!
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.