Skip to content

Instantly share code, notes, and snippets.

@GouriKumari
Created February 6, 2018 20:40
Show Gist options
  • Save GouriKumari/66f9a07284774f479ebea69877922ac6 to your computer and use it in GitHub Desktop.
Save GouriKumari/66f9a07284774f479ebea69877922ac6 to your computer and use it in GitHub Desktop.
Build Error
Process exited with code 1, command:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -framework WatchKit -framework Foundation -framework UIKit -framework HealthKit /Users/xamarinqa/GitRepo/SubmissionSamples/WatchOS/MainApp.WatchAppExtension/obj/iPhone/Release/mtouch-cache/armv7k/libpinvokes.a /Users/xamarinqa/GitRepo/SubmissionSamples/WatchOS/MainApp.WatchAppExtension/obj/iPhone/Release/mtouch-cache/armv7k/registrar.o /Users/xamarinqa/GitRepo/SubmissionSamples/WatchOS/MainApp.WatchAppExtension/obj/iPhone/Release/mtouch-cache/armv7k/main.o /Users/xamarinqa/GitRepo/SubmissionSamples/WatchOS/MainApp.WatchAppExtension/obj/iPhone/Release/mtouch-cache/armv7k/MainAppWatchAppExtension.dll.bc /Users/xamarinqa/GitRepo/SubmissionSamples/WatchOS/MainApp.WatchAppExtension/obj/iPhone/Release/mtouch-cache/armv7k/mscorlib.dll.bc /Users/xamarinqa/GitRepo/SubmissionSamples/WatchOS/MainApp.WatchAppExtension/obj/iPhone/Release/mtouch-cache/armv7k/Xamarin.WatchOS.dll.bc /Library/Frameworks/Xamarin.iOS.framework/Versions/11.9.0.23/SDKs/Xamarin.WatchOS.sdk/usr/lib/libmonosgen-2.0.a /Library/Frameworks/Xamarin.iOS.framework/Versions/11.9.0.23/SDKs/Xamarin.WatchOS.sdk/usr/lib/libxamarin.a -force_load /Library/Frameworks/Xamarin.iOS.framework/Versions/11.9.0.23/SDKs/Xamarin.WatchOS.sdk/usr/lib/libwatchextension.a -fembed-bitcode -arch armv7k -mwatchos-version-min=2.0 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS4.2.sdk -lz -liconv -o /Users/xamarinqa/GitRepo/SubmissionSamples/WatchOS/MainApp.WatchAppExtension/bin/iPhone/Release/MainAppWatchAppExtension.appex/MainAppWatchAppExtension -lc++ -e _xamarin_watchextension_main -fapplication-extension
MTOUCH : warning : overriding the module target triple with thumbv7k-apple-watchos2.0.0 [-Woverride-module]
1 warning generated.
MTOUCH : warning : overriding the module target triple with thumbv7k-apple-watchos2.0.0 [-Woverride-module]
1 warning generated.
MTOUCH : warning : overriding the module target triple with thumbv7k-apple-watchos2.0.0 [-Woverride-module]
1 warning generated.
Undefined symbols for architecture armv7k:
"_mono_aot_MainAppWatchAppExtensionweak_field_indexes", referenced from:
_mono_aot_file_info in MainAppWatchAppExtension-0effe0.o
"_mono_aot_Xamarin_WatchOSweak_field_indexes", referenced from:
_mono_aot_file_info in Xamarin-dc3f0d.o
"_mono_aot_mscorlibweak_field_indexes", referenced from:
_mono_aot_file_info in mscorlib-c19dd0.o
ld: symbol(s) not found for architecture armv7k
clang : error : linker command failed with exit code 1 (use -v to see invocation)
error MT5209 : Native linking error : warning: overriding the module target triple with thumbv7k-apple-watchos2.0.0 [-Woverride-module]
error MT5209 : Native linking error : 1 warning generated.
error MT5209 : Native linking error : warning: overriding the module target triple with thumbv7k-apple-watchos2.0.0 [-Woverride-module]
error MT5209 : Native linking error : 1 warning generated.
error MT5209 : Native linking error : warning: overriding the module target triple with thumbv7k-apple-watchos2.0.0 [-Woverride-module]
error MT5209 : Native linking error : 1 warning generated.
MTOUCH : error MT5210: Native linking failed, undefined symbol: _mono_aot_MainAppWatchAppExtensionweak_field_indexes. Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in.
MTOUCH : error MT5210: Native linking failed, undefined symbol: _mono_aot_Xamarin_WatchOSweak_field_indexes. Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in.
MTOUCH : error MT5210: Native linking failed, undefined symbol: _mono_aot_mscorlibweak_field_indexes. Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in.
MTOUCH : error MT5202: Native linking failed. Please review the build log.
Done building target "_CompileToNative" in project "MainApp.WatchAppExtension.csproj" -- FAILED.
Done building project "MainApp.WatchAppExtension.csproj" -- FAILED.
Build FAILED.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment