Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
630
Problem with unified api dll
posted

Hello,

IG.Unified.dll and IGChart.Unified.dll (12/15/2014) did work with actual Xamarin BETA version at 12/18/2014

but does not work with actual Xamarin STABLE version.

 

Code sample:

nfloat width = 150;       

col.Width = IGColumnWidth.CreateNumericColumnWidth(width);

 

produces a System.Exception:

 Failed to marshal the Objective-C object 0x7a0a2f80 (type: IGColumnWidth).

Could not find an existing managed instance for this object, nor was it possible to create

a new managed instance (because the type 'Infragistics.IGColumnWidth' does not have a constructor that takes one IntPtr argument).

 

at ObjCRuntime.Runtime.MissingCtor (IntPtr ptr, IntPtr klass, System.Type type, MissingCtorResolution resolution) [0x00046] in

/Developer/MonoTouch/Source/maccore/src/ObjCRuntime/Runtime.iOS.cs:392

 

at ObjCRuntime.Runtime.ConstructNSObject[IGColumnWidth] (IntPtr ptr, System.Type type, MissingCtorResolution missingCtorResolution) [0x0002a] in

/Developer/MonoTouch/Source/maccore/src/ObjCRuntime/Runtime.iOS.cs:415

 

at ObjCRuntime.Runtime.GetNSObject[IGColumnWidth] (IntPtr ptr) [0x000c1] in

/Developer/MonoTouch/Source/maccore/src/ObjCRuntime/Runtime.iOS.cs:521

 

at Infragistics.IGColumnWidth.CreateNumericColumnWidth (nfloat width) [0x00000] in <filename unknown>:0

 

Thans for helping

Johann

  • 4940
    Verified Answer
    Offline posted in reply to Johann Geßler

    Hi Johann,

    By looking at the log that you pasted, I can see the error involves some slices missing from the embedded static library that resides in the Infragistics assembly.

    MTOUCHTASK:  warning MT1301: Native library `libigLib.a` (i386, armv7, arm64) was ignored since it does not match the current build architectures (i386, x86_64)

    This issue doesn't exist in the latest SR, which was released 2 weeks ago. To verify I extracted the static library from the assembly and tested to view the included architecture slices.

    To grab the latest SR, visit https://ko.infragistics.com/my-account/keys-and-downloads and click on the 2014.2 product, then the Service Releases tab. Before installation, make sure to wipe out the "/Developer/Infragistics/NUCLiOS 2014 Volume 2" path. Also close Xcode and Xamarin Studio before the installation. After the installation, clean your project and rebuild.

    [Edit]: Upon doing further research, despite the embedded static library containing all the necessary architecture slices, the Xamarin wrapper didn't contain the necessary LinkType to inform Xamarin Studio to the existence of the x86_64 slice. We'll rebuild with the necessary change and work on providing an updated SR.

  • 630
    Offline posted in reply to Torrey Betts

    Hi Torrey,

    we have problems with the simulator Build with 64bit support.

    When i eliminate the usage of the actual IG.Unified.dll i can build a Simulator Version "i386+x86_64" of the application, we delivered to you, but the build fails when i have the usage as in the version we provided to you. Tell me if you need the sample again.

    Thanks, Johann

     

    Log:

    Popovers (Debug|iPhoneSimulator) wird erzeugt

     

    Build started 22.01.2015 15:22:03.

    __________________________________________________

    Project "/Users/gdo/Samples/TEST/Popovers.csproj" (Build target(s)):

                   

                    Target PrepareForBuild:

                                   Configuration: Debug Platform: iPhoneSimulator

                   

                    Target _DetectAppManifest:

                                   FindItemWithLogicalName Task

                                     Items:

                                       Info.plist

                                     LogicalName: Info.plist

                                     ProjectDir: /Users/gdo/Samples/TEST

                                     ResourcePrefix: Resources

                   

                    Target _DetectSdkLocations:

                                   DetectSdkLocations Task

                                     Platform: iPhoneSimulator

                                     SdkVersion: 8.1

                                     XamarinSdkRoot: /Library/Frameworks/Xamarin.iOS.framework/Versions/Current

                   

                    Target _CoreCompileInterfaceDefinitions:

                                   IBTool Task

                                     AppManifest: Info.plist

                                     InterfaceDefinitions:

                                       en.lproj/DetailView.xib

                                       en.lproj/MainWindow.xib

                                     IntermediateOutputPath: obj/iPhoneSimulator/Debug/

                                     Platform: iPhoneSimulator

                                     ResourcePrefix: Resources

                                     SdkBinPath: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator8.1.sdk/Developer/usr/bin

                                     SdkRoot: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator8.1.sdk

                                     SdkVersion: 8.1

                   

                    Target _CollectColladaAssets:

                                   CollectBundleResources Task

                                     BundleResources: <null>

                                     OptimizePNGs: False

                                     ProjectDir: /Users/gdo/Samples/TEST

                                     ResourcePrefix: Resources

                   

                    Target _CoreCompileColladaAssets:

                    No input files were specified for target _CoreCompileColladaAssets, skipping.

                   

                    Target _CoreCompileSceneKitAssets:

                                   CompileSceneKitAssets Task

                                     IntermediateOutputPath: obj/iPhoneSimulator/Debug/

                                     ProjectDir: /Users/gdo/Samples/TEST

                                     ResourcePrefix: Resources

                                     SceneKitAssets:

                                     SdkDevPath: /Applications/Xcode.app/Contents/Developer

                                     SdkRoot: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator8.1.sdk

                                     SdkVersion: 8.1

                   

                    Target _CoreCompileTextureAtlases:

                                   TextureAtlas Task

                                     AtlasTextures: <null>

                                     IntermediateOutputPath: obj/iPhoneSimulator/Debug/

                                     ProjectDir: /Users/gdo/Samples/TEST

                                     ResourcePrefix: Resources

                                     SdkBinPath: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator8.1.sdk/Developer/usr/bin

                                     SdkDevPath: /Applications/Xcode.app/Contents/Developer

                                     SdkUsrPath: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator8.1.sdk/Developer/usr

                   

                    Target _CollectITunesArtwork:

                                   CollectITunesArtwork Task

                                     ITunesArtwork:

                                       Resources/iTunesArtwork.png

                   

                    Target _CollectBundleResources:

                                   CollectBundleResources Task

                                     BundleResources:

                                       Resources/Default-568h@2x.png

                                       Resources/Default-Landscape@2x~ipad.png

                                       Resources/Default-Landscape~ipad.png

                                       Resources/Default-Portrait@2x~ipad.png

                                       Resources/Default-Portrait~ipad.png

                                       Resources/Default.png

                                       Resources/Default@2x.png

                                       Resources/iTunesArtwork@2x.png

                                       Resources/icon-100.png

                                       Resources/icon-114.png

                                       Resources/icon-144.png

                                       Resources/icon-29.png

                                       Resources/icon-50.png

                                       Resources/icon-57.png

                                       Resources/icon-58.png

                                       Resources/icon-72.png

                                     OptimizePNGs: True

                                     ProjectDir: /Users/gdo/Samples/TEST

                                     ResourcePrefix: Resources

                   

                    Target _CoreOptimizePngImages:

                    Skipping target "_CoreOptimizePngImages" because its outputs are up-to-date.

                   

                    Target _CoreOptimizePngImages:

                    Skipping target "_CoreOptimizePngImages" because its outputs are up-to-date.

                   

                    Target _CoreOptimizePngImages:

                    Skipping target "_CoreOptimizePngImages" because its outputs are up-to-date.

                   

                    Target _CoreOptimizePngImages:

                    Skipping target "_CoreOptimizePngImages" because its outputs are up-to-date.

                   

                    Target _CoreOptimizePngImages:

                    Skipping target "_CoreOptimizePngImages" because its outputs are up-to-date.

                   

                    Target _CoreOptimizePngImages:

                    Skipping target "_CoreOptimizePngImages" because its outputs are up-to-date.

                   

                    Target _CoreOptimizePngImages:

                    Skipping target "_CoreOptimizePngImages" because its outputs are up-to-date.

                   

                    Target _CoreOptimizePngImages:

                    Skipping target "_CoreOptimizePngImages" because its outputs are up-to-date.

                   

                    Target _CoreOptimizePngImages:

                    Skipping target "_CoreOptimizePngImages" because its outputs are up-to-date.

                   

                    Target _CoreOptimizePngImages:

                    Skipping target "_CoreOptimizePngImages" because its outputs are up-to-date.

                   

                    Target _CoreOptimizePngImages:

                    Skipping target "_CoreOptimizePngImages" because its outputs are up-to-date.

                   

                    Target _CoreOptimizePngImages:

                    Skipping target "_CoreOptimizePngImages" because its outputs are up-to-date.

                   

                    Target _CoreOptimizePngImages:

                    Skipping target "_CoreOptimizePngImages" because its outputs are up-to-date.

                   

                    Target _CoreOptimizePngImages:

                    Skipping target "_CoreOptimizePngImages" because its outputs are up-to-date.

                   

                    Target _CoreOptimizePngImages:

                    Skipping target "_CoreOptimizePngImages" because its outputs are up-to-date.

                   

                    Target _CoreOptimizePngImages:

                    Skipping target "_CoreOptimizePngImages" because its outputs are up-to-date.

                   

                    Target _UnpackLibraryResources:

                                   UnpackLibraryResources Task

                                     IntermediateOutputPath: obj/iPhoneSimulator/Debug/

                                     Prefix: monotouch

                                     ReferencedLibraries:

                                       /Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/Xamarin.iOS/System.dll

                                       /Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/Xamarin.iOS/System.Xml.dll

                                       /Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/Xamarin.iOS/Xamarin.iOS.dll

                                       ../IG.Unified.dll

                                       /Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/Xamarin.iOS/System.Core.dll

                                       /Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/Xamarin.iOS/mscorlib.dll

                                       /Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/Xamarin.iOS/mscorlib.dll

                   

                    Target GenerateSatelliteAssemblies:

                    No input files were specified for target GenerateSatelliteAssemblies, skipping.

                   

                    Target GenerateTargetFrameworkMonikerAttribute:

                    Skipping target "GenerateTargetFrameworkMonikerAttribute" because its outputs are up-to-date.

                   

                    Target CoreCompile:

                                   Tool /Library/Frameworks/Xamarin.iOS.framework/Versions/Current/bin/smcs execution started with arguments: /noconfig /debug:full /debug+ /optimize- /out:obj/iPhoneSimulator/Debug/Popovers.exe Main.cs AppDelegate.cs RootViewController.cs RootViewController.designer.cs PopoverContentViewController.cs PopoverContentViewController.designer.cs DetailViewController.cs DetailViewController.designer.cs /target:exe /define:"__UNIFIED__;__MOBILE__;__IOS__;DEBUG" /nostdlib /reference:/Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/Xamarin.iOS/System.dll /reference:/Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/Xamarin.iOS/System.Xml.dll /reference:/Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/Xamarin.iOS/Xamarin.iOS.dll /reference:../IG.Unified.dll /reference:/Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/Xamarin.iOS/System.Core.dll /reference:/Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/Xamarin.iOS/mscorlib.dll /warn:4

    AppDelegate.cs(13,19): warning CS0114: `Popovers.AppDelegate.Window' hides inherited member `UIKit.UIApplicationDelegate.Window'. To make the current member override that implementation, add the override keyword. Otherwise add the new keyword

                                   /Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/Xamarin.iOS/Xamarin.iOS.dll (Location of the symbol related to previous warning)

    DetailViewController.cs(115,13): warning CS0219: The variable `tappedButton' is assigned but its value is never used

                   

                    Target DeployOutputFiles:

                                   Copying file from '/Users/gdo/Samples/TEST/obj/iPhoneSimulator/Debug/Popovers.exe.mdb' to '/Users/gdo/Samples/TEST/bin/iPhoneSimulator/Debug/Popovers.exe.mdb'

                                   Copying file from '/Users/gdo/Samples/TEST/obj/iPhoneSimulator/Debug/Popovers.exe' to '/Users/gdo/Samples/TEST/bin/iPhoneSimulator/Debug/Popovers.exe'

                   

                    Target _DetectSigningIdentity:

                                   DetectSigningIdentity Task

                                     AppBundleName: Popovers

                                     AppManifest: Info.plist

                                     RequireCodesigning: False

                                     Platform: iPhoneSimulator

                                     ProvisioningProfile: <null>

                                     SigningKey: iPhone Developer

                   

                    Target _CopyContentToBundle:

                                   Copying file from '/Users/gdo/Samples/TEST/obj/iPhoneSimulator/Debug/ibtool/en.lproj/DetailView.nib' to '/Users/gdo/Samples/TEST/bin/iPhoneSimulator/Debug/Popovers.app/en.lproj/DetailView.nib'

                                   Copying file from '/Users/gdo/Samples/TEST/obj/iPhoneSimulator/Debug/ibtool/en.lproj/MainWindow.nib' to '/Users/gdo/Samples/TEST/bin/iPhoneSimulator/Debug/Popovers.app/en.lproj/MainWindow.nib'

                                   Copying file from '/Users/gdo/Samples/TEST/Resources/iTunesArtwork.png' to '/Users/gdo/Samples/TEST/bin/iPhoneSimulator/Debug/Popovers.app/iTunesArtwork'

                                   Copying file from '/Users/gdo/Samples/TEST/obj/iPhoneSimulator/Debug/Default-568h@2x.png' to '/Users/gdo/Samples/TEST/bin/iPhoneSimulator/Debug/Popovers.app/Default-568h@2x.png'

                                   Copying file from '/Users/gdo/Samples/TEST/obj/iPhoneSimulator/Debug/Default-Landscape@2x~ipad.png' to '/Users/gdo/Samples/TEST/bin/iPhoneSimulator/Debug/Popovers.app/Default-Landscape@2x~ipad.png'

                                   Copying file from '/Users/gdo/Samples/TEST/obj/iPhoneSimulator/Debug/Default-Landscape~ipad.png' to '/Users/gdo/Samples/TEST/bin/iPhoneSimulator/Debug/Popovers.app/Default-Landscape~ipad.png'

                                   Copying file from '/Users/gdo/Samples/TEST/obj/iPhoneSimulator/Debug/Default-Portrait@2x~ipad.png' to '/Users/gdo/Samples/TEST/bin/iPhoneSimulator/Debug/Popovers.app/Default-Portrait@2x~ipad.png'

                                   Copying file from '/Users/gdo/Samples/TEST/obj/iPhoneSimulator/Debug/Default-Portrait~ipad.png' to '/Users/gdo/Samples/TEST/bin/iPhoneSimulator/Debug/Popovers.app/Default-Portrait~ipad.png'

                                   Copying file from '/Users/gdo/Samples/TEST/obj/iPhoneSimulator/Debug/Default.png' to '/Users/gdo/Samples/TEST/bin/iPhoneSimulator/Debug/Popovers.app/Default.png'

                                   Copying file from '/Users/gdo/Samples/TEST/obj/iPhoneSimulator/Debug/Default@2x.png' to '/Users/gdo/Samples/TEST/bin/iPhoneSimulator/Debug/Popovers.app/Default@2x.png'

                                   Copying file from '/Users/gdo/Samples/TEST/obj/iPhoneSimulator/Debug/iTunesArtwork@2x.png' to '/Users/gdo/Samples/TEST/bin/iPhoneSimulator/Debug/Popovers.app/iTunesArtwork@2x.png'

                                   Copying file from '/Users/gdo/Samples/TEST/obj/iPhoneSimulator/Debug/icon-100.png' to '/Users/gdo/Samples/TEST/bin/iPhoneSimulator/Debug/Popovers.app/icon-100.png'

                                   Copying file from '/Users/gdo/Samples/TEST/obj/iPhoneSimulator/Debug/icon-114.png' to '/Users/gdo/Samples/TEST/bin/iPhoneSimulator/Debug/Popovers.app/icon-114.png'

                                   Copying file from '/Users/gdo/Samples/TEST/obj/iPhoneSimulator/Debug/icon-144.png' to '/Users/gdo/Samples/TEST/bin/iPhoneSimulator/Debug/Popovers.app/icon-144.png'

                                   Copying file from '/Users/gdo/Samples/TEST/obj/iPhoneSimulator/Debug/icon-29.png' to '/Users/gdo/Samples/TEST/bin/iPhoneSimulator/Debug/Popovers.app/icon-29.png'

                                   Copying file from '/Users/gdo/Samples/TEST/obj/iPhoneSimulator/Debug/icon-50.png' to '/Users/gdo/Samples/TEST/bin/iPhoneSimulator/Debug/Popovers.app/icon-50.png'

                                   Copying file from '/Users/gdo/Samples/TEST/obj/iPhoneSimulator/Debug/icon-57.png' to '/Users/gdo/Samples/TEST/bin/iPhoneSimulator/Debug/Popovers.app/icon-57.png'

                                   Copying file from '/Users/gdo/Samples/TEST/obj/iPhoneSimulator/Debug/icon-58.png' to '/Users/gdo/Samples/TEST/bin/iPhoneSimulator/Debug/Popovers.app/icon-58.png'

                                   Copying file from '/Users/gdo/Samples/TEST/obj/iPhoneSimulator/Debug/icon-72.png' to '/Users/gdo/Samples/TEST/bin/iPhoneSimulator/Debug/Popovers.app/icon-72.png'

                   

                    Target _CompileAppManifest:

                    Skipping target "_CompileAppManifest" because its outputs are up-to-date.

                   

                    Target _CompileToNative:

                                   MTouch Task

                                     AppBundleDir: bin/iPhoneSimulator/Debug/Popovers.app

                                     AppManifest: bin/iPhoneSimulator/Debug/Popovers.app/Info.plist

                                     Architecture: i386, x86_64

                                     CompiledEntitlements: obj/iPhoneSimulator/Debug/Entitlements.xcent

                                     Debug: True

                                     EnableGenericValueTypeSharing: True

                                     Entitlements: <null>

                                     ExtraArgs: <null>

                                     FastDev: False

                                     I18n: <null>

                                     IntermediateOutputPath: obj/iPhoneSimulator/Debug/mtouch-cache

                                     IsAppExtension: False

                                     LinkMode: SdkOnly

                                     MainAssembly: /Users/gdo/Samples/TEST/bin/iPhoneSimulator/Debug//Popovers.exe

                                     NativeReferences: <null>

                                     OutputPath: bin/iPhoneSimulator/Debug/

                                     Platform: iPhoneSimulator

                                     Profiling: False

                                     ProjectFullPath: /Users/gdo/Samples/TEST/Popovers.csproj

                                     References:

                                       /Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/Xamarin.iOS/System.dll

                                       /Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/Xamarin.iOS/System.Xml.dll

                                       /Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/Xamarin.iOS/Xamarin.iOS.dll

                                       ../IG.Unified.dll

                                       /Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/Xamarin.iOS/System.Core.dll

                                       /Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/Xamarin.iOS/mscorlib.dll

                                       ../IG.Unified.dll

                                     SdkRoot: /Applications/Xcode.app/Contents/Developer

                                     SdkVersion: 8.1

                                     TargetFrameworkIdentifier: Xamarin.iOS

                                     UseLlvm: False

                                     UseRefCounting: False

                                     UseSGen: False

                                     UseThumb: False

                                   Tool /Library/Frameworks/Xamarin.iOS.framework/Versions/Current/bin/mtouch execution started with arguments: --cache /Users/gdo/Samples/TEST/obj/iPhoneSimulator/Debug/mtouch-cache --sim /Users/gdo/Samples/TEST/bin/iPhoneSimulator/Debug/Popovers.app --executable Popovers --debug --linksdkonly --sdkroot /Applications/Xcode.app/Contents/Developer --sdk 8.1 --targetver 8.1 --abi=i386,x86_64 -r /Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/Xamarin.iOS/System.dll -r /Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/Xamarin.iOS/System.Xml.dll -r /Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/Xamarin.iOS/Xamarin.iOS.dll -r ../IG.Unified.dll -r /Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/Xamarin.iOS/System.Core.dll -r /Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/Xamarin.iOS/mscorlib.dll -r ../IG.Unified.dll /Users/gdo/Samples/TEST/bin/iPhoneSimulator/Debug//Popovers.exe

                                   Xamarin.iOS 8.6.0 Business Edition using framework: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator8.1.sdk

    MTOUCHTASK:  warning MT1301: Native library `libigLib.a` (i386, armv7, arm64) was ignored since it does not match the current build architectures (i386, x86_64)

    MTOUCHTASK:  warning MT1301: Native library `libigLib.a` (i386, armv7, arm64) was ignored since it does not match the current build architectures (i386, x86_64)

                                   Process exited with code 1, command:

                                   /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang  -Wl,-pie  -arch x86_64 -gdwarf-2 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator8.1.sdk -Qunused-arguments -fobjc-legacy-dispatch -fobjc-abi-version=2 -mios-simulator-version-min=8.1 /Users/gdo/Samples/TEST/obj/iPhoneSimulator/Debug/mtouch-cache/main.x86_64.o -o /Users/gdo/Samples/TEST/bin/iPhoneSimulator/Debug/Popovers.app/.monotouch-64/Popovers -framework QuartzCore -framework EventKit -framework Foundation -framework CoreGraphics -framework UIKit -framework CFNetwork -lz -liconv -u _mono_pmip -u _kFilterRowIndex -u _kHeaderRowIndex -u _kPullDownRowIndex -u _kSectionFooterIndex -u _kSectionHeaderIndex -u _IGTextStyleBackgroundColorAttributeName -u _IGTextStyleBoldAttributeName -u _IGTextStyleFontAttributeName -u _IGTextStyleForegroundColorAttributeName -u _IGTextStyleItalicAttributeName -u _IGTextStyleKernAttributeName -u _IGTextStyleStrokeColorAttributeName -u _IGTextStyleStrokeWidthAttributeName -u _IGTextStyleTapAttributeName -u _IGTextStyleUnderlineAttributeName -u _IGTextStyleUnderlineColorAttributeName -u _monotouch_timezone_get_data -u _monotouch_log -u _xamarin_release_managed_ref -u _xamarin_create_managed_ref -u _xamarin_get_block_descriptor /Library/Frameworks/Xamarin.iOS.framework/Versions/8.6.0.51/SDKs/MonoTouch.iphonesimulator.sdk/usr/lib/libmonosgen-2.0.a /Library/Frameworks/Xamarin.iOS.framework/Versions/8.6.0.51/SDKs/MonoTouch.iphonesimulator.sdk/usr/lib/libmonotouch-sgen-debug.a /Library/Frameworks/Xamarin.iOS.framework/Versions/8.6.0.51/SDKs/MonoTouch.iphonesimulator.sdk/usr/lib/libapp.a

                                   Undefined symbols for architecture x86_64:

                                     "_IGTextStyleBackgroundColorAttributeName", referenced from:

                                        -u command line option

                                     "_IGTextStyleBoldAttributeName", referenced from:

                                        -u command line option

                                     "_IGTextStyleFontAttributeName", referenced from:

                                        -u command line option

                                     "_IGTextStyleForegroundColorAttributeName", referenced from:

                                        -u command line option

                                     "_IGTextStyleItalicAttributeName", referenced from:

                                        -u command line option

                                     "_IGTextStyleKernAttributeName", referenced from:

                                        -u command line option

                                     "_IGTextStyleStrokeColorAttributeName", referenced from:

                                        -u command line option

                                     "_IGTextStyleStrokeWidthAttributeName", referenced from:

                                        -u command line option

                                     "_IGTextStyleTapAttributeName", referenced from:

                                        -u command line option

                                     "_IGTextStyleUnderlineAttributeName", referenced from:

                                        -u command line option

                                     "_IGTextStyleUnderlineColorAttributeName", referenced from:

                                        -u command line option

                                     "_kFilterRowIndex", referenced from:

                                        -u command line option

                                     "_kHeaderRowIndex", referenced from:

                                        -u command line option

                                     "_kPullDownRowIndex", referenced from:

                                        -u command line option

                                     "_kSectionFooterIndex", referenced from:

                                        -u command line option

                                     "_kSectionHeaderIndex", referenced from:

                                        -u command line option

                                   ld: symbol(s) not found for architecture x86_64

                                   clang: error: linker command failed with exit code 1 (use -v to see invocation)

                                  

    MTOUCHTASK: error MT5214: Native linking failed, undefined symbol: _IGTextStyleBackgroundColorAttributeName. This symbol was referenced the managed member Infragistics.IGLabelConstants.IGTextStyleBackgroundColorAttributeName. Please verify that all the necessary frameworks have been referenced and native libraries linked.

    MTOUCHTASK: error MT5214: Native linking failed, undefined symbol: _IGTextStyleBoldAttributeName. This symbol was referenced the managed member Infragistics.IGLabelConstants.IGTextStyleBoldAttributeName. Please verify that all the necessary frameworks have been referenced and native libraries linked.

    MTOUCHTASK: error MT5214: Native linking failed, undefined symbol: _IGTextStyleFontAttributeName. This symbol was referenced the managed member Infragistics.IGLabelConstants.IGTextStyleFontAttributeName. Please verify that all the necessary frameworks have been referenced and native libraries linked.

    MTOUCHTASK: error MT5214: Native linking failed, undefined symbol: _IGTextStyleForegroundColorAttributeName. This symbol was referenced the managed member Infragistics.IGLabelConstants.IGTextStyleForegroundColorAttributeName. Please verify that all the necessary frameworks have been referenced and native libraries linked.

    MTOUCHTASK: error MT5214: Native linking failed, undefined symbol: _IGTextStyleItalicAttributeName. This symbol was referenced the managed member Infragistics.IGLabelConstants.IGTextStyleItalicAttributeName. Please verify that all the necessary frameworks have been referenced and native libraries linked.

    MTOUCHTASK: error MT5214: Native linking failed, undefined symbol: _IGTextStyleKernAttributeName. This symbol was referenced the managed member Infragistics.IGLabelConstants.IGTextStyleKernAttributeName. Please verify that all the necessary frameworks have been referenced and native libraries linked.

    MTOUCHTASK: error MT5214: Native linking failed, undefined symbol: _IGTextStyleStrokeColorAttributeName. This symbol was referenced the managed member Infragistics.IGLabelConstants.IGTextStyleStrokeColorAttributeName. Please verify that all the necessary frameworks have been referenced and native libraries linked.

    MTOUCHTASK: error MT5214: Native linking failed, undefined symbol: _IGTextStyleStrokeWidthAttributeName. This symbol was referenced the managed member Infragistics.IGLabelConstants.IGTextStyleStrokeWidthAttributeName. Please verify that all the necessary frameworks have been referenced and native libraries linked.

    MTOUCHTASK: error MT5214: Native linking failed, undefined symbol: _IGTextStyleTapAttributeName. This symbol was referenced the managed member Infragistics.IGLabelConstants.IGTextStyleTapAttributeName. Please verify that all the necessary frameworks have been referenced and native libraries linked.

    MTOUCHTASK: error MT5214: Native linking failed, undefined symbol: _IGTextStyleUnderlineAttributeName. This symbol was referenced the managed member Infragistics.IGLabelConstants.IGTextStyleUnderlineAttributeName. Please verify that all the necessary frameworks have been referenced and native libraries linked.

    MTOUCHTASK: error MT5214: Native linking failed, undefined symbol: _IGTextStyleUnderlineColorAttributeName. This symbol was referenced the managed member Infragistics.IGLabelConstants.IGTextStyleUnderlineColorAttributeName. Please verify that all the necessary frameworks have been referenced and native libraries linked.

    MTOUCHTASK: error MT5214: Native linking failed, undefined symbol: _kFilterRowIndex. This symbol was referenced the managed member Infragistics.IGGridViewConstants.kFilterRowIndex. Please verify that all the necessary frameworks have been referenced and native libraries linked.

    MTOUCHTASK: error MT5214: Native linking failed, undefined symbol: _kHeaderRowIndex. This symbol was referenced the managed member Infragistics.IGGridViewConstants.kHeaderRowIndex. Please verify that all the necessary frameworks have been referenced and native libraries linked.

    MTOUCHTASK: error MT5214: Native linking failed, undefined symbol: _kPullDownRowIndex. This symbol was referenced the managed member Infragistics.IGGridViewConstants.kPullDownRowIndex. Please verify that all the necessary frameworks have been referenced and native libraries linked.

    MTOUCHTASK: error MT5214: Native linking failed, undefined symbol: _kSectionFooterIndex. This symbol was referenced the managed member Infragistics.IGGridViewConstants.kSectionFooterIndex. Please verify that all the necessary frameworks have been referenced and native libraries linked.

    MTOUCHTASK: error MT5214: Native linking failed, undefined symbol: _kSectionHeaderIndex. This symbol was referenced the managed member Infragistics.IGGridViewConstants.kSectionHeaderIndex. Please verify that all the necessary frameworks have been referenced and native libraries linked.

    MTOUCHTASK: error MT5202: Native linking failed. Please review the build log.

                    Task "MTouchTask" execution -- FAILED

                    Done building target "_CompileToNative" in project "/Users/gdo/Samples/TEST/Popovers.csproj".-- FAILED

                   

    Done building project "/Users/gdo/Samples/TEST/Popovers.csproj".-- FAILED

     

    Build FAILED.

     

    Warnings:

     

    /Users/gdo/Samples/TEST/Popovers.csproj (Build) -> /Library/Frameworks/Mono.framework/Versions/3.12.0/lib/mono/4.5/Microsoft.CSharp.targets (CoreCompile target) ->

     

                    AppDelegate.cs(13,19): warning CS0114: `Popovers.AppDelegate.Window' hides inherited member `UIKit.UIApplicationDelegate.Window'. To make the current member override that implementation, add the override keyword. Otherwise add the new keyword

                    DetailViewController.cs(115,13): warning CS0219: The variable `tappedButton' is assigned but its value is never used

     

    /Users/gdo/Samples/TEST/Popovers.csproj (Build) -> /Library/Frameworks/Mono.framework/External/xbuild/Xamarin/iOS/Xamarin.iOS.Common.targets (_CompileToNative target) ->

     

                    MTOUCHTASK:  warning MT1301: Native library `libigLib.a` (i386, armv7, arm64) was ignored since it does not match the current build architectures (i386, x86_64)

                    MTOUCHTASK:  warning MT1301: Native library `libigLib.a` (i386, armv7, arm64) was ignored since it does not match the current build architectures (i386, x86_64)

     

    Errors:

     

    --------------------- Fertig ---------------------

     

    Build: 17 Fehler, 4 Warnungen

  • 630
    Offline posted in reply to Torrey Betts

    Hi Torrey,

    i can provide you a sample on our server. Here is the link: https://www.hidrive.strato.com/lnk/wEmIGLCS

    Test.zip contains an adjusted Xamarin Popovers Sample with IG.Unified.dll which leads to an Exception using it:

    Tap on “Tap” and the mentioned exception is thrown:

    2015-01-09 10:44:48.707 Popovers[1728:35392] System.Exception: Failed to marshal the Objective-C object 0x18dd8550 (type: IGColumnWidth). Could not find an existing managed instance for this object, nor was it possible to create a new managed instance (because the type 'Infragistics.IGColumnWidth' does not have a constructor that takes one IntPtr argument).

      at ObjCRuntime.Runtime.MissingCtor (IntPtr ptr, IntPtr klass, System.Type type, MissingCtorResolution resolution) [0x00046] in /Developer/MonoTouch/Source/maccore/src/ObjCRuntime/Runtime.iOS.cs:392

      at ObjCRuntime.Runtime.ConstructNSObject[IGColumnWidth] (IntPtr ptr, System.Type type, MissingCtorResolution missingCtorResolution) [0x0002a] in /Developer/MonoTouch/Source/maccore/src/ObjCRuntime/Runtime.iOS.cs:415

      at ObjCRuntime.Runtime.GetNSObject[IGColumnWidth] (IntPtr ptr) [0x000c1] in /Developer/MonoTouch/Source/maccore/src/ObjCRuntime/Runtime.iOS.cs:521

      at Infragistics.IGColumnWidth.CreateNumericColumnWidth (nfloat width) [0x00000] in <filename unknown>:0

      at Popovers.DetailViewController.ShowPopover (Foundation.NSObject sender) [0x00015] in /Users/gdo/Samples/TEST/DetailViewController.cs:125

    In DetailsViewController.cs:

     

            public void ShowPopover (NSObject sender) {
                // Set the sender to a UIButton.
                UIButton tappedButton = (UIButton)sender;

            
                // for TEST
                // Present the popover from the button that was tapped in the detail view.
                //DetailViewPopover.PresentFromRect (tappedButton.Frame, View, UIPopoverArrowDirection.Any, true);

                try {

                    nfloat width = 150; 
                    IGColumnWidth columnWidth = IGColumnWidth.CreateNumericColumnWidth (width);
                    Console.WriteLine (columnWidth.ToString ());

                } catch (Exception e) {

                    Console.WriteLine (e);
                }


                // Set the last button tapped to the current button that was tapped.
                LastTappedButton = sender;
            }

     

    Thanks,

    Johann

  • 4940
    Offline posted

    Hi Johann,

    I tested the following lines of code using Xamarin Studio 5.5.4-5.7 and did not encounter any exceptions.

    nfloat width = 150;
    IGColumnWidth columnWidth = IGColumnWidth.CreateNumericColumnWidth(width);

    Would you be able to attach a sample to your next reply that causes an exception with the code you mentioned? Additionally, you may want to place your IGColumnWidth instance into a instance variable so there is no chance it would get released before assigning the Width property of IGGridViewColumnDefinition.