2 days ago my xCode got updated to new version 5.0 (5A1413). After that the build with my instrumented app failed
""_OBJC_IVAR_$_UITouch._gestureView", referenced from:
-[UITouch(Synthesize) initInView:withRelX:withRelY:] in libRxAutomationUni_410.a(UITouch+Synthesize.o)"
I sow this error on a forum and it was related to iOS 7 that is not supported by Ranorex at the moment but I did not upgrade my test device.
It still runs 6. Any suggestion?
Thank you a lot
xCode got new updates that broke build of instrumented app
-
- Posts: 42
- Joined: Fri Oct 04, 2013 9:47 pm
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: xCode got new updates that broke build of instrumented app
Its important to know the version of the SDK the application is compiled with. If I remember correctly, the XCode5 update will replace the iOS6 SDK with the iOS7 SDK as we had to manually reinstall the iOS6 SDK after we updated XCode at Ranorex.
To verify that you compile against iOS6 please select your project and go to the build settings tab and check that the value of the 'Base SDK' entry is 'iOS 6.x''. Additionally please check what the deployment target of your app is ('General' tab).
If in the 'Base SDK', 'iOS 7' is listed you have to manually reinstall the iOS6 SDK and select it as the 'Base SDK'. Alternatively you can update to the latest version of Ranorex (4.1.1) which is compatible with iOS7.
Regards,
Philipp
To verify that you compile against iOS6 please select your project and go to the build settings tab and check that the value of the 'Base SDK' entry is 'iOS 6.x''. Additionally please check what the deployment target of your app is ('General' tab).
If in the 'Base SDK', 'iOS 7' is listed you have to manually reinstall the iOS6 SDK and select it as the 'Base SDK'. Alternatively you can update to the latest version of Ranorex (4.1.1) which is compatible with iOS7.
Regards,
Philipp
You do not have the required permissions to view the files attached to this post.
-
- Posts: 42
- Joined: Fri Oct 04, 2013 9:47 pm
Re: xCode got new updates that broke build of instrumented app
Philipp, I have manually reinstalled the iOS6 SDK. Changed Base SDK setting back to iOS 6.1 and added new library to my project libRxAutomationUni_411.a and a flag '-ObjC' and '-all_load'. But my build failed.
Linker could not find other third party libs that included to the project. These libraries are compiled with SDK 6.0. If I remove libRxAutomationUni_411.a project builds just fine.
Any idea?
Thanks,
Nikolay
Linker could not find other third party libs that included to the project. These libraries are compiled with SDK 6.0. If I remove libRxAutomationUni_411.a project builds just fine.
Any idea?
Thanks,
Nikolay
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: xCode got new updates that broke build of instrumented app
I'm not quite sure how it is possible that the linker doesn't find the other libraries when the libRxAutomationUni_411.a is linked, but finds them otherwise (note, libRxAutomationUni_XXX.a is also compiled against the 6.1 SDK).
What is the exact error message the linker provides?
Would it be possible that you send us your project so that we can analyze the issue? It is quite hard to do so via online communication. If so, we will provide more information on how you can send us your project privately.
Regards,
Philipp
What is the exact error message the linker provides?
Would it be possible that you send us your project so that we can analyze the issue? It is quite hard to do so via online communication. If so, we will provide more information on how you can send us your project privately.
Regards,
Philipp
-
- Posts: 42
- Joined: Fri Oct 04, 2013 9:47 pm
Re: xCode got new updates that broke build of instrumented app
Ok I found a fix.
Don't use -all_load and -ObjC. Instead, add instruction -force_load libRxAutomationUni_411.a
and everything builds fine.
Don't use -all_load and -ObjC. Instead, add instruction -force_load libRxAutomationUni_411.a
and everything builds fine.