Watch, Follow, &
Connect with Us

For forums, blogs and more please visit our
Developer Tools Community.


Welcome, Guest
Guest Settings
Help

Thread: XE7, XCode 6.1, iOS 8.1 - What a combination



Permlink Replies: 2 - Last Post: Apr 16, 2015 12:02 PM Last Post By: Francisco Cholb...
Martin Waller

Posts: 12
Registered: 10/12/14
XE7, XCode 6.1, iOS 8.1 - What a combination
Click to report abuse...   Click to reply to this thread Reply
  Posted: Dec 10, 2014 7:56 AM
Hi,

I've been trying to port some XE7 Delphi code to an iOS iPad these last few days and I seem to be getting no where.

When I try to build the project within XE7 I get the famous "Unable to install package" error. If I ignore that error and copy the IPA file to the iPad using iTunes then the code fires up. The program works but randomly crashes, sometimes it runs to 20 seconds before it crashes, sometimes it runs a lot longer. To me this seems like a memory issue.

I've not been able to run the code in the iOS simulator as I get the famous "Timeout error".

I've been digging around trying to find error logs that might be generated and so far I have found none!

Does anyone have any tips as to where I may go next?

Reading around it's almost as if I need to roll back to iOS 7 to get the simulator working but I only have the one MAC and I'm not keen to wind it back.

Does anyone know of a good combination of versions of the software layers that will work to allow me to debug in the iOS simulator?

Many thanks

Martin
Ronald Klitsche

Posts: 326
Registered: 8/26/01
Re: XE7, XCode 6.1, iOS 8.1 - What a combination
Click to report abuse...   Click to reply to this thread Reply
  Posted: Dec 10, 2014 11:35 PM   in response to: Martin Waller in response to: Martin Waller
Does anyone know of a good combination of versions of the software layers
that will work to allow me to debug in the iOS simulator?

I using XCode 6.1.1. But XE7 works only with the simulator 7.1. not 8.x
The 7.1 simulator it's not automatic installed with XCode 6.1, you have to
install it via Menu XCode / Preferences.
After that, you have to update your SDK/iOS Simulator of XE7.

Ronald
Francisco Cholb...

Posts: 3
Registered: 3/22/08
Re: XE7, XCode 6.1, iOS 8.1 - What a combination
Click to report abuse...   Click to reply to this thread Reply
  Posted: Apr 16, 2015 12:02 PM   in response to: Martin Waller in response to: Martin Waller
Hello,

A lot of problems with XE7 + XCode 6.x + iOS. I have been fighting several nights and days with all this staff and I'm afraid that now I have enough experience to write some conclusions about this problem with the new iOS 8, Xcode 6 and Delphi XE7. I haven't tried XE8 yet but it could be the same:

- You need to install this patch that Sarina Dupont has attach at the beginning of this post:
http://blogs.embarcadero.com/sarinadupont/2015/01/29/ios-813-app-deployment-steps-for-xe7

- You need to install in your MAC two SDK, Xcode 5.1.1 and XCode 6.2 (nowadays the version numbers are important because I have tried several versions of Xcode with no good stories). You will need to change manually XCode app name each time you need to change from one to another.

- To compile and deploy to the iOS Simulator you need to use Xcode 5.1.1 and iOS 7.1 Simulator. (I have tried to use Xcode 6 in several versions with IOS 7.1 but doesn't work)

- To compile and deploy to iOS 8 Device, first you need to use Xcode 6.2. Later downgrade your device to iOS 8.1.1 or iOS 8.2 if you have upgraded to iOS 8.3. The reason is because Xcode 6.2 does not recognize iOS 6.3 Devices.

Summing up:

- Patch
- Simulator: Xcode 5.1.1 + Ios 7.1
- Devices: Xcode 6.2 + Ios 8.2

Thats all,

See you on next Xcode / iOS version!

Martin Waller wrote:
Hi,

I've been trying to port some XE7 Delphi code to an iOS iPad these last few days and I seem to be getting no where.

When I try to build the project within XE7 I get the famous "Unable to install package" error. If I ignore that error and copy the IPA file to the iPad using iTunes then the code fires up. The program works but randomly crashes, sometimes it runs to 20 seconds before it crashes, sometimes it runs a lot longer. To me this seems like a memory issue.

I've not been able to run the code in the iOS simulator as I get the famous "Timeout error".

I've been digging around trying to find error logs that might be generated and so far I have found none!

Does anyone have any tips as to where I may go next?

Reading around it's almost as if I need to roll back to iOS 7 to get the simulator working but I only have the one MAC and I'm not keen to wind it back.

Does anyone know of a good combination of versions of the software layers that will work to allow me to debug in the iOS simulator?

Many thanks

Martin
Legend
Helpful Answer (5 pts)
Correct Answer (10 pts)

Server Response from: ETNAJIVE02