Revision history [back]

click to hide/show revision 1
initial version

Cannot build on iOS

I downloaded the Core SDK then build the openssl. after that I got

-lBundledRouter.o

so I removed from the Linker Flags

after that I got an 170 errors!

ld: warning: directory not found for option '-L/Users/win/Downloads/alljoyn-15.04.00b-osx_ios-sdk/alljoyn_objc/samples/iOS/AllJoyn iOS Project Template/../../../../build/darwin/x86_64/iphonesimulator/Debug/dist/cpp/lib'
ld: warning: ld: warning: ignoring file /Users/win/Desktop/build/Debug-iphonesimulator/libssl.a, missing required architecture x86_64 in file /Users/win/Desktop/build/Debug-iphonesimulator/libssl.a (4 slices)ignoring file /Users/win/Desktop/build/Debug-iphonesimulator/libcrypto.a, missing required architecture x86_64 in file /Users/win/Desktop/build/Debug-iphonesimulator/libcrypto.a (4 slices)

ld: warning: ignoring file /Users/win/Downloads/alljoyn-15.04.00b-osx_ios-sdk/build/darwin/arm/iphonesimulator/debug/dist/cpp/lib/liballjoyn.a, file was built for archive which is not the architecture being linked (x86_64): /Users/win/Downloads/alljoyn-15.04.00b-osx_ios-sdk/build/darwin/arm/iphonesimulator/debug/dist/cpp/lib/liballjoyn.a
ld: warning: ignoring file /Users/win/Downloads/alljoyn-15.04.00b-osx_ios-sdk/build/darwin/arm/iphonesimulator/debug/dist/cpp/lib/libajrouter.a, file was built for archive which is not the architecture being linked (x86_64): /Users/win/Downloads/alljoyn-15.04.00b-osx_ios-sdk/build/darwin/arm/iphonesimulator/debug/dist/cpp/lib/libajrouter.a
Undefined symbols for architecture x86_64:
  "_QCC_StatusText", referenced from:

Anyone can help? I spent all day trying to build the sample project template, yet no luck.