I am new to iPhone development, I am using xCode 4.4.1
I have setup a Provisioning profile and was able to debug on my iPhone device before
I have disconnected my device from the machine and restarted it
Once reconnected my device doesn't appear on the available Scheme Destinations
Having that said:
I have verified that the provisioning profile is properly set on my
device # Settings->General->Profile
Using xCode->Organizer->Devices, I have verified that the Provisioning profile is properly set on the
dev machine.
Since restarting my physical iPhone device I can't use it for debugging, why ?
Any help will be appreciated.
~Nadav
The problem was that while I was trying to generate armv6 code I was experimenting with xcode v4.4.1, this xcode version doesn't support iOS 6, and thus, it didn't recognize my device.
Related
Eventhough, Xcode 6 displays in iOS devices section my iOS 8.0.2 running iPad2 wirelessly and builds normally my app, when it tries to run end up the the following message:
Cannot retrieve value from the passcode locked device.
Please check your setup and try again. (0xE8000016).
Any ideas ?
Try restarting the device to make sure Xcode is referencing the correct device.
In my case, Xcode detected one of my iPads nearby as a wireless device (which happened to be passcode locked), but when I plugged in my other iPad it mistook it for the wireless one.
First off let me be clear. I have several iOS devices. On the devices that have 7.0.6 I have no issues. When I updated one of the devices to 7.1 I'm having an issue. Let me explain.
On the iOS device that has 7.1 I navigate to the workbench URL and then I go to Manage applications and select install. I then get this message "Cannot install applications because the certificate for >ip address< is not vald. This process works on devices that have 7.0.6. I'm assuming there are issues with the new iOS update.
Now I did some searching and I found something that said there's an issue when trying to download an app from a HTTP site, so I changed a Web Reports setting (found in Eclipse Preferences -> Test -> Performance Test Reports -> Web Reports) to "Security is required to access reports". Thus it changed the port number to "8443". I then navigate back to the workbench URL using the https : // ip:port and try to install the app again. This time it just says Cannot open.
Any ideas on this?
Here is a workaround to be able to test with iOS 7.1
1) Get the zip of instrumented Application from developer or other who can run rtwBuildXcode.sh on a Mac and who has the source code for Application. [RmotXXXXXXXX.zip file]
2) Use RTWec "Add Application to list..." button and brows to the zip to "import" it into RTWec.
3) UnZip the zip and use iTunes (for Windows) "Add File to Library..." menu to navigate in zip folder to the instrumented iOS Device application [XXXXXXXX.ipa in “instrumented/iOS Device” folder]
4) Plug in iDevice to Windows using USB, select the App, click associated "Install" button, then "Sync" iTunes.
5) Now test as usual...
Thanks
MTWW in Worklight 6.1.0.0 and 6.1.0.1 (to be released, soon) does not support iOS 7.1.
Work is under way to provide support in a future release of Worklight.
Few days back I had everything working with a provisioning profile for Distribution( App Store).And after upgrading iphone to IOS7 the ipa not installing in any of ios7 but is working fine with ios6.
While using iTunes it says waiting... or installing... for long but when used iphone configuration Uitility it says invalid profile(Doubt is how is it working on IOS6)????
It is also working with Distribution Certificate of type ADHOC where i added the device udid in the device List.So Architecture is definitely not the problem
Have you updated architectures for new device in your build setting.
it happens because of architecture,ipa will install on those devices which supports the cpu architecture mention in your build setting,but not on those devices who's architecture is not mentioned.
I have an app that i am release as iPhone and iPad even if it developed as Universal. The reason is that i have release an English version that is Universal and just want to update the iPhone and iPad Swedish versions as it have been with separate apps for the different devices.
When i run on the iPhone device i have no problems but when testing with iPad i get the message below, which i do not know how to remove:
"Could not launch “FamilyQuiz_3"
No such file or directory (/Users/peterk/Library/Developer/Xcode/DerivedData/MyApp_3-fosmfwberzyfryenqrjlfpacftjv/Build/Products/Debug-iphoneos/MyApp_3.app/MyApp_3)
I can start the app from the iPad device but it do not start automatically when submit from XCODE.
1)make sure your iOS Deployment Target version is the same or lower than the one on your device in build settings.
2)delete it from the device
3)close xcode
4)Goto /Users/peterk/Library/Developer/Xcode/DerivedData/ on your computer and delete the
MyApp_3-fosmfwberzyfryenqrjlfpacftjv folder
if that still doesnt work go and try deleting the app restarting your phone, and then restarting your computer even, and doing it again.
I have a jailbroken iPhone 4 and i'm installing a iphone application from xcode to test it, this works fine. I also have a iPhone 3gs that was given by my university to install the application, this is also jailbroken but when i try to install it i get "a valid provisioning profile for this executable was not found". How can i fix this? (also i do have a developers account, my university lecturer added me but he hasnt activated the account yet and he takes ages to respond to emails -i need to test it now but not sure why that error appears?). Would appreciate some help on this matter..
I assume the provisioning profile you are running doesn't include the UDID of the device you're trying to run on. This requires logging in to the Provisioning Portal and adding the device, then downloading the new profile and installing it on your device.