[jbosstools-issues] [JBoss JIRA] (JBIDE-17607) Allow ios-sim to handle multiple versions of Xcode
Gorkem Ercan (JIRA)
issues at jboss.org
Wed Jul 2 18:18:24 EDT 2014
[ https://issues.jboss.org/browse/JBIDE-17607?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12981685#comment-12981685 ]
Gorkem Ercan commented on JBIDE-17607:
--------------------------------------
In the newer versions of the ios-sim that comes with the JBT 4.2.x JBDS8, this dynamic library issue does not exist.
Here is the otool command for that version.
otool -L /plugins/org.jboss.tools.aerogear.hybrid.ios.core/ios-sim/ios-sim
/plugins/org.jboss.tools.aerogear.hybrid.ios.core/ios-sim/ios-sim:
/System/Library/Frameworks/Foundation.framework/Versions/C/Foundation (compatibility version 300.0.0, current version 1056.13.0)
/usr/lib/libobjc.A.dylib (compatibility version 1.0.0, current version 228.0.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1197.1.1)
/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation (compatibility version 150.0.0, current version 855.14.0)
I will keep this one open for now in case a Patch release for 4.1.x stream is ever produced.
> Allow ios-sim to handle multiple versions of Xcode
> --------------------------------------------------
>
> Key: JBIDE-17607
> URL: https://issues.jboss.org/browse/JBIDE-17607
> Project: Tools (JBoss Tools)
> Issue Type: Feature Request
> Components: aerogear-hybrid
> Affects Versions: 4.1.1.Final
> Environment: Mac OS X Mavericks (10.9.3), Xcode 5.1.1 (preinstalled) and Xcode 5.0.2 (installed later)
> Reporter: Vineet Reynolds
> Assignee: Gorkem Ercan
> Fix For: 4.1.x
>
>
> I get the following error when running a HMT project in an iOS simulator on JBDS 7.1.1 GA:
> {noformat}
> dyld: Library not loaded: @rpath/iPhoneSimulatorRemoteClient.framework/Versions/A/iPhoneSimulatorRemoteClient
> Referenced from: /Applications/jbdevstudio7.1.1.GA/studio/configuration/org.eclipse.osgi/bundles/923/data//ios-sim
> Reason: image not found
> {noformat}
> Xcode 5.1.1 is default (Mac OS X Mavericks) and was installed into {{/Applications/Xcode.app/}}. Xcode 5.0.2 was installed into {{/Applications/Xcode 2.app/}} and was selected as the default version through {{xcodeselect}}. But the error was still reported.
> This is because the ios-sim binary is linked against the {{/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Library/PrivateFrameworks}} directory, as seen in output of {{otool -l /Applications/jbdevstudio7.1.1.GA/studio/configuration/org.eclipse.osgi/bundles/923/data/ios-sim}}:
> {noformat}
> ...
> Load command 17
> cmd LC_RPATH
> cmdsize 128
> path /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Library/PrivateFrameworks (offset 12)
> Load command 18
> cmd LC_RPATH
> cmdsize 80
> path /Applications/Xcode.app/Contents/Developer/../OtherFrameworks (offset 12)
> ...
> {noformat}
> Implying that Xcode must be installed into the /Applications/Xcode.app directory and not any other, which prevents {{xcodeselect}} from being completely useful to 'fix' the desired version of Xcode to use.
> The requirement is to not have this limitation of having the selected version of code installed into {{/Applications/Xcode.app}}.
> One way to workaround this limitation currently is to export the project as an Xcode project and then work on it in an older Xcode project.
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
More information about the jbosstools-issues
mailing list