Initially I had Xcode 4.3.
I have updated my Xcode to 4.5 version for iOS 6.
If I try to run my app in iPad, I am getting following error:
Xcode cannot run using the selected device.
Choose a destination with a supported architecture in order to run on this device.
Then I added one more architecture from settings, ie armv7s, before I had armv6 and armv7.
Again if I run my app on iPad, I get another error for my ZBar library.
ld: file is universal (3 slices) but does not contain a(n) armv7s slice: /Users/narendarsinghsaini/Desktop/MyApp/Classes/ZBarSDK/libzbar.a for architecture armv7s
ld: warning: building for MacOSX, but linking against dylib built for iOS: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.0.sdk/usr/lib/libsqlite3.dylib/Users/narendarsinghsaini/Desktop/MyApp/Classes/ZBarSDK/libzbar.a
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Now I am expecting steps to overcome this issue
I have updated my Xcode to 4.5 version for iOS 6.
If I try to run my app in iPad, I am getting following error:
Xcode cannot run using the selected device.
Choose a destination with a supported architecture in order to run on this device.
Then I added one more architecture from settings, ie armv7s, before I had armv6 and armv7.
Again if I run my app on iPad, I get another error for my ZBar library.
ld: file is universal (3 slices) but does not contain a(n) armv7s slice: /Users/narendarsinghsaini/Desktop/MyApp/Classes/ZBarSDK/libzbar.a for architecture armv7s
ld: warning: building for MacOSX, but linking against dylib built for iOS: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.0.sdk/usr/lib/libsqlite3.dylib/Users/narendarsinghsaini/Desktop/MyApp/Classes/ZBarSDK/libzbar.a
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Now I am expecting steps to overcome this issue