I was in the process of adding a third party library (GPUImage), I actually managed to get it all in and installed on the device. Woohoo!
Then...well you know the story. It doesn't work anymore.
Now when ever I try to build to my device it will "Build successfully" then immediately go to "Finished running".
My setup:
iPhone 4
iOS 5.1.1
OS X Lion
Xcode 4.3.2
I have:
Tried:
Adding in armv6
-all_load
Restarting xcode
Restarting device
Removing device from the organizer then adding it back.
Restarting computer.
Cleaning project and rebuilding
Removing the "Requirements" (?) from the pList (although this app is for iOS 5.0 or higher).
None of these seem to work. If anyone has had this problem PLEEEASE help! I am about to lose my sanity.
In the mean time I will try archiving and doing and OTA install and see if that works.
Thank you very much for your time,
Cory
P.S - I have already seen all the other post on here so please don't paste links to them :)
Problem of Project, Scheme and Target names. This all must be a same. Try rename to same name
"AppName" and "Appname" is not true. Must be "AppName" and "AppName", or "Appname" and "Appname".
I have the same problem - I have the latest XCode iOS SDK 5.1 - but my iPhone is updated with the latest iOS version 5.1.1
Not sure how to solve this as Apple havent released the new SDK. Pretty shit to be honest, as I can't test on my device.
Not sure what fixed my problem but with the new Xcode version the problem stopped. Thank you everyone for your help.
Related
I am trying to run application in a device with iOS 9.1 from xcode 7.1. xcode is keep crashing. I am unable to install the application in any ios 9.1 devices. I have tried 3 different devices and getting the same problem. My code is in objective-c.
I have uninstalled the xcode and then installed xcode 7.2 again. It solved my issue.
I think you should do something for fix it, maybe it's just some stupid errors from xcode.
Try to clean then build again.
Add a devices for development then test again.
Report to Apple.
Check your iOS Target Deployment first.
Also try following steps
Also try reinstalling Xcode 7 and while installing close Xcode.
Check in Xcode Preferences whether Simulator for iOS9 is installed or not.
also check whether your itunes open when plugin device.
I face this problem each time i stop and run the app again. I googled and found a lot of answers, e.g. this solution but only fix the problem temporarily, I wish there was a way to fix it permanently.
Thanx in advance.
Solution: I think the problem was related to Xcode version specific as now I am using Xcode 6 and now the issue no longer exist.
select your simulator
choose:iosimulator->Reset Content and Settings.
or else
ctrl+shift+H , double tap the H and close all the application that runs.
ctrl is an windows key in mac
same problem for me too.
by Quitting simulator and again running the project in Xcode solved this issue for me..
I know there are already some answers. But, for me, I just made sure to resolve the warnings. I had not set the identifier for a segue. Hope this helps someone.
I have met the same issue after I installed the newest macOS version and the iOS simulator on Xcode fired me.
I have tried the solutions above for myself and the solutions are given on this page: Xcode 6.4/7 crashing after El Capitan beta .But they did not work for me.
My final solution was to uninstall the current one and installed new Xcode version. It worked for me.
I upgraded to Xcode 4.4.1. Now, I'm trying to add framework QuartzCore.framework, but getting Quartz.framework not found while running the application on device and it is working fine on simulator.
After analyzing, I got, the framework is missing at the path:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneOS5.1.sdk/
Even if , it is available at:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneSimulator5.1.sdk/
Can anyone please let me know, what is going wrong? How to solve the problem?
If you're developing for iOS, you'll probably want QuartzCore.framework (and not Quartz.framework).
Try re-adding QuarzCore in Linked Libraries under Build Phases. If you're using a 6.0 device, you'll need to update Xcode to 4.5 or later.
I get a SIGABRT error in my Xcode-project. The strange thing is, that on another mac the project runs without an error.
I allready did:
clean the project
restarted Xcode and the mac
deleted the app files from simulator
And on both mac's is the same Xcode version.
Have anyone a spontaneous advice for me? :/
Have you checked if the BaseSDK is set to the latest iOS version or not for both macs?
Dev guys from other company, sent me iOS app package that is build with Xcode, but I don't have its Xcode project, just built app package file. How to run that on simulator or on iphone?
UDPATE: I'v tried Simulator launcher but the solution is not working when using Xcode 4.2.1.
UPDATE2: Also tried to use this solution but with no luck (getting black simulator screen and errors shown in terminal after launch). IMHO these problems might be related to iOS 5
UPDATE3: Also, unsuccessfully, tried to use this solution
normally you should be able to install it with itunes, a detailed step-by step guide can be found here: http://www.wikihow.com/Install-Ad-hoc-iPhone-OS-Apps
If it is built for device, you can install it to your device using iTunes or Xcode Organizer. However, you cannot run it on any device. They should also give you a provisioning profile for letting you install that app on your device.
Found the solution. I'v asked the guys to send me "ipa" package instead of raw .app package. Then added it to my iPhone device.