iOS Client for iOS 7.1 / XCode 5
Michael Monschau
michael at brainydata.co.uk
Thu Jul 31 02:42:29 EDT 2014
Hi Fotis,
Also have a look at this
http://stackoverflow.com/questions/22323039/arm64-architecture-in-xcode-5-1
Regards,
Michael
On 30 Jul 2014, at 10:39, Fotis Georgiadis wrote:
> Thank you Michael,
>
> I passed this error, but now I get linker errors:
>
> Ld /Users/fotisg/Library/Developer/Xcode/DerivedData/clientios-bkvvwkbjthxzvaatfjxqyhueogwa/Build/Intermediates/clientios.build/Distribution-iosdevicedistribution/omnisios_device_distribution.build/Objects-normal/armv7s/Omnis normal armv7s
> cd /Users/fotisg/Developer/clientbuild
> export IPHONEOS_DEPLOYMENT_TARGET=3.2
> export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
> /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -arch armv7s -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.1.sdk -L/Users/fotisg/Library/Developer/Xcode/DerivedData/clientios-bkvvwkbjthxzvaatfjxqyhueogwa/Build/Products/Distribution-iosdevicedistribution -L/Users/fotisg/Developer/clientbuild -L/Users/fotisg/Developer/clientbuild/libs/device -F/Users/fotisg/Library/Developer/Xcode/DerivedData/clientios-bkvvwkbjthxzvaatfjxqyhueogwa/Build/Products/Distribution-iosdevicedistribution -filelist /Users/fotisg/Library/Developer/Xcode/DerivedData/clientios-bkvvwkbjthxzvaatfjxqyhueogwa/Build/Intermediates/clientios.build/Distribution-iosdevicedistribution/omnisios_device_distribution.build/Objects-normal/armv7s/Omnis.LinkFileList -dead_strip -fobjc-link-runtime -miphoneos-version-min=3.2 -lz.1.2.5 -framework Foundation -framework UIKit -framework CoreGraphics -framework CoreFoundation -framework QuartzCore -framework AudioToolbox -framework MapKit -framework CoreLocation -framework MediaPlayer -lomnisios_device -framework Security -Xlinker -dependency_info -Xlinker /Users/fotisg/Library/Developer/Xcode/DerivedData/clientios-bkvvwkbjthxzvaatfjxqyhueogwa/Build/Intermediates/clientios.build/Distribution-iosdevicedistribution/omnisios_device_distribution.build/Objects-normal/armv7s/Omnis_dependency_info.dat -o /Users/fotisg/Library/Developer/Xcode/DerivedData/clientios-bkvvwkbjthxzvaatfjxqyhueogwa/Build/Intermediates/clientios.build/Distribution-iosdevicedistribution/omnisios_device_distribution.build/Objects-normal/armv7s/Omnis
>
> ld: file is universal (2 slices) but does not contain a(n) armv7s slice: /Users/fotisg/Developer/clientbuild/libs/device/libomnisios_device.a file '/Users/fotisg/Developer/clientbuild/libs/device/libomnisios_device.a' for architecture armv7s
> clang: error: linker command failed with exit code 1 (use -v to see invocation)
>
> Ld /Users/fotisg/Library/Developer/Xcode/DerivedData/clientios-bkvvwkbjthxzvaatfjxqyhueogwa/Build/Intermediates/clientios.build/Distribution-iosdevicedistribution/omnisios_device_distribution.build/Objects-normal/arm64/Omnis normal arm64
> cd /Users/fotisg/Developer/clientbuild
> export IPHONEOS_DEPLOYMENT_TARGET=3.2
> export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
> /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.1.sdk -L/Users/fotisg/Library/Developer/Xcode/DerivedData/clientios-bkvvwkbjthxzvaatfjxqyhueogwa/Build/Products/Distribution-iosdevicedistribution -L/Users/fotisg/Developer/clientbuild -L/Users/fotisg/Developer/clientbuild/libs/device -F/Users/fotisg/Library/Developer/Xcode/DerivedData/clientios-bkvvwkbjthxzvaatfjxqyhueogwa/Build/Products/Distribution-iosdevicedistribution -filelist /Users/fotisg/Library/Developer/Xcode/DerivedData/clientios-bkvvwkbjthxzvaatfjxqyhueogwa/Build/Intermediates/clientios.build/Distribution-iosdevicedistribution/omnisios_device_distribution.build/Objects-normal/arm64/Omnis.LinkFileList -dead_strip -fobjc-link-runtime -miphoneos-version-min=3.2 -lz.1.2.5 -framework Foundation -framework UIKit -framework CoreGraphics -framework CoreFoundation -framework QuartzCore -framework AudioToolbox -framework MapKit -framework CoreLocation -framework MediaPlayer -lomnisios_device -framework Security -Xlinker -dependency_info -Xlinker /Users/fotisg/Library/Developer/Xcode/DerivedData/clientios-bkvvwkbjthxzvaatfjxqyhueogwa/Build/Intermediates/clientios.build/Distribution-iosdevicedistribution/omnisios_device_distribution.build/Objects-normal/arm64/Omnis_dependency_info.dat -o /Users/fotisg/Library/Developer/Xcode/DerivedData/clientios-bkvvwkbjthxzvaatfjxqyhueogwa/Build/Intermediates/clientios.build/Distribution-iosdevicedistribution/omnisios_device_distribution.build/Objects-normal/arm64/Omnis
>
> ld: warning: ignoring file /Users/fotisg/Developer/clientbuild/libs/device/libomnisios_device.a, missing required architecture arm64 in file /Users/fotisg/Developer/clientbuild/libs/device/libomnisios_device.a (2 slices)
> Undefined symbols for architecture arm64:
> "omwebdel_init()", referenced from:
> _main in MAIN.o
> ld: symbol(s) not found for architecture arm64
> clang: error: linker command failed with exit code 1 (use -v to see invocation)
>
> "omwebdel_init()", referenced from:
>
>
> _main in MAIN.o
>
>
> ld: symbol(s) not found for architecture arm64
>
>
> clang: error: linker command failed with exit code 1 (use -v to see invocation)
>
>
>
>
>
> Any idea how to solve this?
>
> Thank you very much
> Fotis
>
> On 30 Ιουλ 2014, at 12:28 μ.μ., Michael Monschau <michael at brainydata.co.uk> wrote:
>
>> Hi Fotis,
>>
>> Go to your project settings (I don't remember how it is done in XCode 5, but in older XCode you double click the target).
>> Scroll down to other c++ flags and remove the "-fno-for-scope" option and try again.
>>
>> I am not in the office at the moment so I am working from memory.
>>
>> Regards,
>> Michael
>>
>> Michael Monschau (Director)
>> Brainy Data Limited
>
> _____________________________________________________________
> Manage your list subscriptions at http://lists.omnis-dev.com
More information about the omnisdev-en
mailing list