Unofficial Content
  • This documentation is valid for:

1. Error compiling in MAC.

If you are seeing the following Stack Trace:

error: Ld build/Debug-iphonesimulator/Dashboard1.app/Dashboard1 normal i386
error:     cd /Users/armin/Documents/Projects/kbiosu4/Dashboard1
error:     setenv IPHONEOS_DEPLOYMENT_TARGET 4.3
error:     setenv PATH "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
error:     /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch i386 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator6.1.sdk -L/Users/armin/Documents/Projects/kbiosu4/Dashboard1/build/Debug-iphonesimulator -L/Users/armin/Documents/Projects/kbiosu4/Dashboard1 -L/Users/armin/Documents/Projects/kbiosu4/Dashboard1/UserControls -L/Users/armin/Library/Artech/GeneXus/10.2.73811_U4 -F/Users/armin/Documents/Projects/kbiosu4/Dashboard1/build/Debug-iphonesimulator -F/Users/armin/Library/Artech/GeneXus/10.2.73811_U4 -filelist /Users/armin/Documents/Projects/kbiosu4/Dashboard1/build/Dashboard1.build/Debug-iphonesimulator/Dashboard1.build/Objects-normal/i386/Dashboard1.LinkFileList -Xlinker -objc_abi_version -Xlinker 2 -all_load -ObjC -fobjc-arc -fobjc-arc -fobjc-link-runtime -Xlinker -no_implicit_dylibs -mios-simulator-version-min=4.3 -framework FacebookSDK -weak_framework Accounts -weak_framework AdSupport -weak_framework Social -lsqlite3 -framework CoreText -framework CFNetwork -framework StoreKit -framework AudioToolbox -framework Security -framework AssetsLibrary -weak_framework Twitter -lz -weak_framework MessageUI -framework Foundation -weak_framework UIKit -framework CoreGraphics -framework AddressBook -framework AddressBookUI -framework CoreData -weak_framework EventKit -weak_framework EventKitUI -framework MapKit -framework MediaPlayer -framework QuartzCore -framework SystemConfiguration -framework YAJLIOS -framework GXFlexibleClient -weak_framework iAd -weak_framework AVFoundation -framework MobileCoreServices -weak_framework CoreVideo -weak_framework CoreMedia -liconv -framework CoreLocation -o /Users/armin/Documents/Projects/kbiosu4/Dashboard1/build/Debug-iphonesimulator/Dashboard1.app/Dashboard1
error: ld: warning: directory not found for option '-L/Users/armin/Documents/Projects/kbiosu4/Dashboard1/UserControls'
error: Undefined symbols for architecture i386:
error:   "_ABPersonGetCompositeNameFormatForRecord", referenced from:
error:       -[GXActionExObjAddressBookHandler personNameWithFirstName:lastName:] in GXFlexibleClient(GXActionExObjAddressBookHandler.o)
error:   "_OBJC_CLASS_$_CLCircularRegion", referenced from:
error:       objc-class-ref in GXFlexibleClient(GXActionExObjGeoLocationHandler.o)
error:       objc-class-ref in GXFlexibleClient(GXLocationManager.o)
error:   "_OBJC_CLASS_$_UIFontDescriptor", referenced from:
error:       objc-class-ref in GXFlexibleClient(GXThemeHelper.o)
error:       objc-class-ref in GXFlexibleClient(GXThemeClassWithFontHelper.o)
error:   "_UIContentSizeCategoryDidChangeNotification", referenced from:
error:       -[GXThemeClassWithFontHelper loadResolvedFontObjects] in GXFlexibleClient(GXThemeClassWithFontHelper.o)
error:       -[GXControlBase initWithLayoutElement:controlId:gxMode:indexerStack:parentControl:] in GXFlexibleClient(GXControlBase.o)
error:       -[GXControlBase dealloc] in GXFlexibleClient(GXControlBase.o)
error:       -[GXThemeClassWithFontHelper loadResolvedFontObjects] in GXFlexibleClient(GXThemeClassWithFontHelper.o)
error:       -[GXControlBase initWithLayoutElement:controlId:gxMode:indexerStack:parentControl:] in GXFlexibleClient(GXControlBase.o)
error:       -[GXControlBase dealloc] in GXFlexibleClient(GXControlBase.o)
error:   "_UIFontDescriptorFamilyAttribute", referenced from:
error:       +[GXThemeHelper fontDescriptorForCategory:familyName:weight:style:] in GXFlexibleClient(GXThemeHelper.o)
error:   "_UIFontDescriptorTextStyleAttribute", referenced from:
error:       -[GXThemeClassWithFontHelper loadResolvedFontObjects] in GXFlexibleClient(GXThemeClassWithFontHelper.o)
error:   "_UIFontDescriptorTraitsAttribute", referenced from:
error:       +[GXThemeHelper fontDescriptorForCategory:familyName:weight:style:] in GXFlexibleClient(GXThemeHelper.o)
error:   "_UIFontSymbolicTrait", referenced from:
error:       +[GXThemeHelper fontDescriptorForCategory:familyName:weight:style:] in GXFlexibleClient(GXThemeHelper.o)
error:   "_UIFontTextStyleBody", referenced from:
error:       _UIFontTextStyleFromGXFontCategory in GXFlexibleClient(GXThemeHelper.o)
error:   "_UIFontTextStyleCaption1", referenced from:
error:       _UIFontTextStyleFromGXFontCategory in GXFlexibleClient(GXThemeHelper.o)
error:   "_UIFontTextStyleCaption2", referenced from:
error:       _UIFontTextStyleFromGXFontCategory in GXFlexibleClient(GXThemeHelper.o)
error:   "_UIFontTextStyleFootnote", referenced from:
error:       _UIFontTextStyleFromGXFontCategory in GXFlexibleClient(GXThemeHelper.o)
error:   "_UIFontTextStyleHeadline", referenced from:
error:       _UIFontTextStyleFromGXFontCategory in GXFlexibleClient(GXThemeHelper.o)
error:   "_UIFontTextStyleSubheadline", referenced from:
error:       _UIFontTextStyleFromGXFontCategory in GXFlexibleClient(GXThemeHelper.o)
error: ld: symbol(s) not found for architecture i386
error: clang: error: linker command failed with exit code 1 (use -v to see invocation)
error:
iOS Compilation Failed
Build Dashboard1 Failed

Reason: GeneXus is sending to compile an iOS7 framework to an XCode version prior XCode 5.

Solution: Download XCode 5. If you have already download XCode 5 and the error persist try the following steps:

  1. Find the XCode 4.X Application.
  2. Rename the Xcode 4.X to Xcode4
  3. Find XCode 5
  4. Rename Xcode 5 to Xcode

2. Error Executing in Mac

After installing XCode 5 you may get the following error

========== iOS Compilation started ==========
Command:MacTransfer compile "arminmac" "armin" "<password>" "LightCRM" "LightCRM" "IPhoneSim" "C:\Models\LightCRM\CSharpModel" "10.2.73811 U4"
Connecting to arminmac
error: Error getting sdk version (error code 69)
error: Execute in Mac's command line the following:
error: /Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -version -sdk
iOS Compilation Failed
Rebuild All Failed

Reason: Installation hasn't finished completely

Solution: Open XCode and accept finishing the installation.


Last update: February 2024 | © GeneXus. All rights reserved. GeneXus Powered by Globant