Hi David,
On 04/05/15 20:12, David Hirvonen wrote:
Thanks for the response. I've moved to a more standard *nix layout for
all platforms, and will rely on a post-build step to create my framework
(for now). If I find a fix, I'll be sure to share it here.
On Wed, Apr 29, 2015 at 5:22 AM, Eric Wing <ewmail...@gmail.com
<mailto:ewmail...@gmail.com>> wrote:
On 4/25/15, David Hirvonen <dhirvo...@elucideye.com
<mailto:dhirvo...@elucideye.com>> wrote:
> I'm hitting a link error when linking an iOS application with an
internally
> created framework/library using the the CMake Xcode generator and an iOS
> toolchain. I've put together a minimal CMakeLists.txt example here:
>
>https://github.com/headupinclouds/cmake_framework_test/
With the ios-app-bundle-layout topic [1] branch I successfully compiled
your test:
Touch _builds/ios/Debug-iphoneos/testa.app
cd /Users/gjasny/src/cmake_framework_test
export
PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/Users/gjasny/src/cmake/_build/bin:/Users/gjasny/bin:/usr/local/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin"
/usr/bin/touch -c
/Users/gjasny/src/cmake_framework_test/_builds/ios/Debug-iphoneos/testa.app
ProcessProductPackaging
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.4.sdk/Entitlements.plist
_builds/ios/tf.build/Debug-iphoneos/testa.build/testa.app.xcent
cd /Users/gjasny/src/cmake_framework_test
export
PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/Users/gjasny/src/cmake/_build/bin:/Users/gjasny/bin:/usr/local/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin"
builtin-productPackagingUtility
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.4.sdk/Entitlements.plist
-entitlements -format xml -o
/Users/gjasny/src/cmake_framework_test/_builds/ios/tf.build/Debug-iphoneos/testa.build/testa.app.xcent
CodeSign _builds/ios/Debug-iphoneos/testa.app
cd /Users/gjasny/src/cmake_framework_test
export
CODESIGN_ALLOCATE=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/codesign_allocate
export
PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/Users/gjasny/src/cmake/_build/bin:/Users/gjasny/bin:/usr/local/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin"
Signing Identity: "iPhone Developer: Gregor Jasny (V73ULL766M)"
Provisioning Profile: "iOSTeam Provisioning Profile: *"
(34a9855a-c998-49e6-b12e-91f5fe28079a)
/usr/bin/codesign --force --sign A8CFBE1BA1116F2E590774A39ED25D7E8DFC5344
--entitlements
/Users/gjasny/src/cmake_framework_test/_builds/ios/tf.build/Debug-iphoneos/testa.build/testa.app.xcent
/Users/gjasny/src/cmake_framework_test/_builds/ios/Debug-iphoneos/testa.app
** BUILD SUCCEEDED **
library path: _builds/ios/Debug-iphoneos/TF.framework/TF
_builds/ios/Debug-iphoneos/TF.framework.dSYM/Contents/Resources/DWARF/TF
Thanks,
Gregor
[1]
http://www.cmake.org/gitweb?p=stage/cmake.git;a=shortlog;h=refs/heads/ios-app-bundle-layout
--
Powered by www.kitware.com
Please keep messages on-topic and check the CMake FAQ at:
http://www.cmake.org/Wiki/CMake_FAQ
Kitware offers various services to support the CMake community. For more
information on each offering, please visit:
CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake