I'm using the free developer account from Apple
can only deploy in Development mode.
I deployed to one iPad. I've another device with exact 14.4
version, but on 2nd device it always hangs after the PAServer
calls the "iosinstall" executable...
it'll just show "Launching..." in Delphi for the longest time until it times out minutes later.
1st iPad deploys to device in about 1 minute.
Is there a way to find out what exact PAServer is stuck on?
(I already have verbose on)
Restarts do not seem to solve the problem.
The same 2nd device works great with XCode with the exact same provisioning.
Any ideas?
UPDATE on 9 Mar 2021 : I realised there is a Dec2020 Apple patch for 10.4.1. Patched up. Still does not work. Scenario : 3 pieces of iOS 14.4 devices (2 ipads and 1 iPhone). 1st piece (iPad) can install both Actual Project and Small Sample Project. 2nd piece (iPhone) can only install only Small Sample Project. 3rd piece (iPad) cannot install both Actual and Small Sample. It seems weird!
iOS all using 14.4
Using Delphi 10.4.1 with Dec'20 Apple patch
Using a different BundleIdentifier resolved the problem.
Related
but I have an iPhone 13 plugged into my MacBook Pro. I know this might seem like a strange question, but when I try to build & run my app the following messages notify me
This iPhone 4 is running iOS 15.6.1 (19G82), which may
not be supported by this version of Xcode. An updated
version of Xcode may be found on the App Store or at
developer.apple.com.
I cannot remember when the following notification came to my attention, but it basically displays the same message and I took a screenshot of it when it occurred
I have contacted Apple, but I am on my second tech, who is asking me about my browser version, etc... which tells me that they are stalling - no browser, an app build & run in Xcode. An app literally targeting iOS 11.0 and above
Recently upgraded my device to iOS 15.2 and I have another device on hand which I upgraded to iOS 15.3. Previously I was building a project which uses coreML, and another project that doesnt use coreML which is completely different. Both of my devices have considerably longer times than iOS 14 before the app becomes responsive. On iOS 14 it was almost instant before running, and a little slower – just a few seconds on first time install, but now after building from XCode, it is stuck on a white/black screen for about 40 seconds.
I am using support packages to make the build work with XCode 12.5.
https://github.com/filsv/iPhoneOSDeviceSupport
placed in
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport
booting the apps up without the debugger has no problems, the app loads instantly.
I also randomly began getting these errors, (never had this on iOS 14): Xcode error: Failed to prepare device for development
The app behaves normally otherwise, so I suspect this a problem with the debugger.
I would appreciate any help to make my debugging more effective so I dont have to wait a minute every time I want to test my apps.
edit: I updated to Mac OS Monterey and downloaded XCode 13.3 and the problem persists.
I have an application built against iOS 7, but targeted for iOS 5.1 since I only have an iPad 1 available for testing. It's an all native library, with very minimal iOS dependencies. I am able to run the app on my iPad just fine, but when I try to Profile it, XCode 5 immediately changes the status to 'Finished running on iPad', and the Instruments window shows a warning saying 'This device does not support this instrument'. I see this behavior regardless of which instrument I choose from the Instruments panel.
I have tried other suggestions from similar issues posted on Stackoverflow such as
1. Cleaning my app and rebuilding
2. Restarting XCode
3. Deleting my app from the device
4. Changing the deployment target from 'iPhone/iPad' to just 'iPhone'
None of these have helped me get over this problem. Is there something fundamentally not supported in the configuration that I am trying to run ? Since the app runs correctly on the iPad, this seems like just a problem with Instruments compatibility, so I welcome any comments / suggestions on resolving this.
Thanks.
I have an app created from sample code I found online. I hooked up my iPod touch 4G to my computer and everything worked fine, app ran.
Then I hooked up my iPhone 3G to the computer, established provisioning profiles, etc. In the organizer the device shows up as a green dot, so we're good. The name of the device is right there next to the run button so that's a good sign. But when I hit run it says "build succeeded" and then goes directly to "finished running on " but nothing shows up on the app!
I've tried this with several apps now and all work on iPod touch, but none on iPhone.
Devices are running newest operating systems, 4.2 for the iPhone, Xcode version is the newest.
I had a different question with more than likely the same answer
App built with Xcode 4.2 ios 5.0 crashing when installed on iphone with ios 4.3.5
I found the solution here
Is it possible to target older iOS versions when using Xcode 4.2 and iOS 5 SDK?
by mmorris
I had to do what he clearly explained and 1 more thing:
Set the compiler in the Project and Target Build Set to LLVM GCC 4.2
That got the app running on my older devices
I had problem to run on simulator not on device.
Tried above options but didn't work for me.
Finally, Just Resetting Simulator did the trick.
Make sure you are targeting the least iOS version and SDK that you can in the build profiles (targets, summary, Devices, Deployment target). Also, check the error console (All Output) at the bottom right and see if there's some kind of problem occurring.
i get the message as seen in the title if i try to run my app on the device. i investigated that i have the ios 4.2.1 (8C148) on my device. whats confusing me is the fact that in xcode i only can choose the target(ios deployment target) to be 4.2 and the system-profiler->software->developer shows me "Version: 3.2 (10M2423)"(witch i think is the latest) but under SDKs i only see iPhone OS: 4.2(8C134) and iPhone Simulator: and 4.2(8C134)
could this be the reason for this error, that the device is "newer" than my sdk?
You can obtain the 4.2 sdk from Apple's website. Looks like you only have the 3.2 one installed properly on your machine, you might have to redownload and reinstall.
Check out the wikipedia page for ios version numbers to confirm you're running the correct one:
http://en.wikipedia.org/wiki/IOS_version_history
magically the problem appears to be gone. as i turn one's back on that problem and simply developed for simulator, today its simply working ... :/