Updated Xamarin.Studio via Beta Channel yesterday, and recompile one iPad project.
It compiled and runs well with Simulator.
But, the project FAILED to compile for real Device.
Below is the Build Log, and last few lines seemed like suggesting ZipArchive component is causing the issue.
Anyone has the same problem ? Any solution to this ?
====
Building: iPadFlashCard_Model (Debug) Performing main compilation... Skipping project since output files are up to date Build complete -- 0 errors, 0 warnings
Building: iPadFlashCard (Debug|iPhone)
Detecting signing identity... (remove by me) Performing main compilation... /Library/Frameworks/Mono.framework/Versions/3.2.6/bin/mcs /noconfig "/r:/Developer/MonoTouch/usr/lib/mono/2.1/mscorlib.dll" -nostdlib "/out:/Users/ysliew77/Desktop/iPadFlashCard/iPadFlashCard/bin/iPhone/Debug/iPadFlashCard.exe" "/r:/Developer/MonoTouch/usr/lib/mono/2.1/System.dll" "/r:/Developer/MonoTouch/usr/lib/mono/2.1/System.Xml.dll" "/r:/Developer/MonoTouch/usr/lib/mono/2.1/System.Core.dll" "/r:/Developer/MonoTouch/usr/lib/mono/2.1/monotouch.dll" "/r:/Users/ysliew77/Desktop/iPadFlashCard/iPadFlashCard_Model/bin/Debug/iPadFlashCard_Model.dll" "/r:/Developer/MonoTouch/usr/lib/mono/2.1/System.Core.dll" /nologo /warn:4 /debug:full /optimize- /codepage:utf8 "/define:DEBUG;MOBILE;IOS" /t:exe "/Users/ysliew77/Desktop/iPadFlashCard/iPadFlashCard/Main.cs" "/Users/ysliew77/Desktop/iPadFlashCard/iPadFlashCard/AppDelegate.cs" "/Users/ysliew77/Desktop/iPadFlashCard/iPadFlashCard/iPadFlashCardViewController.cs" "/Users/ysliew77/Desktop/iPadFlashCard/iPadFlashCard/iPadFlashCardViewController.designer.cs" "/Users/ysliew77/Desktop/iPadFlashCard/iPadFlashCard/UICustomButton.cs" "/Users/ysliew77/Desktop/iPadFlashCard/iPadFlashCard/UIFlashCardViewControl.cs" "/Users/ysliew77/Desktop/iPadFlashCard/iPadFlashCard/UIFlashCardViewControl.designer.cs" Build complete -- 0 errors, 0 warnings
Compiling to native code /Developer/MonoTouch/usr/bin/mtouch -sdkroot "/Applications/Xcode.app/Contents/Developer" --cache "/Users/ysliew77/Desktop/iPadFlashCard/iPadFlashCard/obj/iPhone/Debug/mtouch-cache" --nomanifest --nosign -dev "/Users/ysliew77/Desktop/iPadFlashCard/iPadFlashCard/bin/iPhone/Debug/iPadFlashCard.app" -r "/Users/ysliew77/Desktop/iPadFlashCard/iPadFlashCard_Model/bin/Debug/iPadFlashCard_Model.dll" -r "/Developer/MonoTouch/usr/lib/mono/2.1/System.dll" -r "/Developer/MonoTouch/usr/lib/mono/2.1/System.Xml.dll" -r "/Developer/MonoTouch/usr/lib/mono/2.1/System.Core.dll" -r "/Developer/MonoTouch/usr/lib/mono/2.1/monotouch.dll" -debug -linksdkonly -sdk "7.1" -targetver "7.0" --abi=armv7 "/Users/ysliew77/Desktop/iPadFlashCard/iPadFlashCard/bin/iPhone/Debug/iPadFlashCard.exe" Xamarin.iOS 7.2.1 Business Edition using framework: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.1.sdk Process exited with code 1, command: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -Wl,-pie -miphoneos-version-min=7.0 -arch armv7 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.1.sdk /Users/ysliew77/Desktop/iPadFlashCard/iPadFlashCard/obj/iPhone/Debug/mtouch-cache/iPadFlashCard.exe.armv7.o /Users/ysliew77/Desktop/iPadFlashCard/iPadFlashCard/obj/iPhone/Debug/mtouch-cache/monotouch.dll.armv7.o /Users/ysliew77/Desktop/iPadFlashCard/iPadFlashCard/obj/iPhone/Debug/mtouch-cache/mscorlib.dll.armv7.o /Users/ysliew77/Desktop/iPadFlashCard/iPadFlashCard/obj/iPhone/Debug/mtouch-cache/System.dll.armv7.o /Users/ysliew77/Desktop/iPadFlashCard/iPadFlashCard/obj/iPhone/Debug/mtouch-cache/iPadFlashCard_Model.dll.armv7.o /Users/ysliew77/Desktop/iPadFlashCard/iPadFlashCard/obj/iPhone/Debug/mtouch-cache/ZipArchive.dll.armv7.o /Users/ysliew77/Desktop/iPadFlashCard/iPadFlashCard/obj/iPhone/Debug/mtouch-cache/registrar.armv7.o /Users/ysliew77/Desktop/iPadFlashCard/iPadFlashCard/obj/iPhone/Debug/mtouch-cache/main.armv7.o -force_load /Users/ysliew77/Desktop/iPadFlashCard/iPadFlashCard/obj/iPhone/Debug/mtouch-cache/libziparchive.a -o /Users/ysliew77/Desktop/iPadFlashCard/iPadFlashCard/bin/iPhone/Debug/iPadFlashCard.app/iPadFlashCard -framework CFNetwork -framework AVFoundation -framework Foundation -framework CoreGraphics -framework UIKit -lz -liconv -u mono_pmip -u _monotouch_log -u _monotouch_release_managed_ref -u _monotouch_create_managed_ref -u _xamarin_get_block_descriptor /Developer/MonoTouch/SDKs/MonoTouch.iphoneos.sdk/usr/lib/libmonoboehm-2.0.a /Developer/MonoTouch/SDKs/MonoTouch.iphoneos.sdk/usr/lib/libmonotouch-debug.a Undefined symbols for architecture armv7: "_OBJC_CLASS$ZipArchiveDelegate", referenced from: _OBJC_CLASS$MiniZip_ZipArchive_ZipArchive__ZipArchiveDelegate in registrar.armv7.o objc-class-ref in registrar.armv7.o "_OBJC_METACLASS$ZipArchiveDelegate", referenced from: _OBJC_METACLASS$_MiniZip_ZipArchive_ZipArchive__ZipArchiveDelegate in registrar.armv7.o ld: symbol(s) not found for architecture armv7 clang: error: linker command failed with exit code 1 (use -v to see invocation)
error MT5211: Native linking failed, undefined Objective-C class: OBJC_CLASS$ZipArchiveDelegate. If '_OBJC_CLASS$ZipArchiveDelegate' is a protocol from a third-party binding, please check that it has the [Protocol] attribute in its api definition file, otherwise verify that all the necessary frameworks have been referenced and native libraries are properly linked in. error MT5210: Native linking failed, undefined symbol: _OBJC_METACLASS$_ZipArchiveDelegate. Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in. error MT5202: Native linking failed. Please review the build log.
---------------------- Done ----------------------
Build: 3 errors, 0 warnings
====