简体   繁体   中英

Can't run my app on iPhone

I am trying to run my app on my iphone for testing. I just got a new provisioning profile (it had expired about a month ago) i went through all the steps on the assistant and when I tried to run the app on the device from Xcode it builds it then claims to run it and says its finished running but it does nothing on the iphone not even install the app.

The only strange thing i found is that on the list of devices to deploy the app on on the top left on Xcode there are 2 instances of my iPhone even though in the organizer there is only one they both seem to be the same as when I changed the name of the iPhone they both changed as well. I have tried running on both of them and the same outcome explained above.

Any idea of what I could do?

EDIT: I'm running iOS 4.2.1 on n iPhone 3G

Try changing the architecture from Standard (armv7) - $(ARCHS_STANDARD_32_BIT) to armv6 and armv7. You can do this in Xcode - project - build settings - architectures (click on the drop down menu and the click other and the click on the plus sign) add armv6 and again click on the add sign and add armv7. Now build and run. This worked for me.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM