I am using xamarin forms for application development. I am using appcenter for taking build for iOS and android also. When i am trying to take build on iOS, i am getting the following error on appcenter:
/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/iOS/Xamarin.iOS.Common.targets(1912,3): error MSB6006: "codesign" exited with code 1. [/Users/runner/work/1/s/MyPrj/MyPrj.iOS/MyPrj.iOS.csproj]
Can anyone trying to solve this issue
Related
I am trying to run my Xamarin UWP app in debug mode but if fails to open. The error code is
Output window errors
The thread 0x6dfc has exited with code 3221225595 (0xc000007b).
The thread 0x3344 has exited with code 3221225595 (0xc000007b).
The program '[35788] SheepsheadTheGame.UWP.exe' has exited with code 3221225595 (0xc000007b).
I was able to run the app in debug mode and then it just stop working. All my nuget packages are up to date. I have searched the web and tried various solutions other people have had success fixing this issue. I have not been successful.
I have found two lines in the build output window that may be causing the issue.
6>C:\Program Files (x86)\Microsoft SDKs\UWPNuGetPackages\microsoft.net.native.compiler\2.2.11-rel-30601-02\tools\Microsoft.NetNative.targets(805,5): warning : ILTransform : warning ILT0028: Found native library 'C:\Users\druch\Documents\xxx\xxxx\xxxxx.UWP\obj\x86\Debug\ilc\in\Cosmos.CRTCompat.dll' with unexpected CPU architecture 'amd64', while the current build target architecture is set to 'x86'. Your application may fail to launch. Please make sure to build your application with the matching CPU architecture.
6>C:\Program Files (x86)\Microsoft SDKs\UWPNuGetPackages\microsoft.net.native.compiler\2.2.11-rel-30601-02\tools\Microsoft.NetNative.targets(805,5): warning : ILTransform : warning ILT0028: Found native library
'C:\Users\druch\Documents\xxx\xxxx\xxxxx.UWP\obj\x86\Debug\ilc\in\Microsoft.Azure.Cosmos.ServiceInterop.dll' with unexpected CPU architecture 'amd64', while the current build target architecture is set to 'x86'. Your application may fail to launch. Please make sure to build your application with the matching CPU architecture.
Could this be the cause of my issue? If so, how do I fix it?
I ended up rebuilding my app (not fun). The UWP app started working again.
it is working fine on iOS but facing this issue on android
Launching lib/main.dart on sdk gphone x86 arm in debug mode...
FAILURE: Build failed with an exception.
What went wrong:
Execution failed for task ':firebase_auth:generateDebugRFile'.
Could not resolve all files for configuration ':firebase_auth:debugCompileClasspath'.
Could not find com.facebook.android:facebook-login:[8.1).
Required by:
project :firebase_auth
Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
Get more help at https://help.gradle.org
BUILD FAILED in 20s
Exception: Gradle task assembleDebug failed with exit code 1
Exited (sigterm)
The version given by the facebook documentation doesn't work for me either.
That's the version i am actually using:
implementation 'com.facebook.android:facebook-login:[8,9)'
Anyway, if it doesn't solve your problem, try to give more information like, the plugin you are using for the facebook authentication, its version, and the firebase_auth and firebase_core version of the plugin you are using
It just worked with me when i switched to windows (don't know how ) and the error still show on Mac OS after trying all available solutions
I have lately been trying to upload our UI-tests to App Center through an Azure DevOps pipeline task and seem to always run into this error. The same error also occurs if I try to run the CLI command locally. Our project is a cross platform Xamarin.Forms app using the Xamarin.UITest test framework.
The specified error:
Test chunking failed: Specified method is not supported.
Preparing tests... failed.
Error: Cannot prepare UI Test artifacts using command: C:\Users\VssAdministrator.nuget\packages\xamarin.uitest\3.0.7\tools\test-cloud.exe prepare "D:/a/1/b/Debug/Project.dev.apk" --assembly-dir "D:\a\1\s\ Project.UITest\bin\Debug" --artifacts-dir "D:\a\1\a\AppCenterTest".
Test chunking failed, please try again. If you can't work out how to fix this issue, please contact support.
##[error]Error: D:\a_tasks\AppCenterTest\1.152.3\node_modules.bin\appcenter.cmd failed with return code: 3
Any help is most appreciated.
I have a UWP Xamarin Forms app that is in the Microsoft Store. I've updated this app in the partner center several times without trouble. My last update was 1/31/2020.
Yesterday I submitted another update but it failed with the following message:
This submission failed with error code(s) 1201
In searching I've come across threads like this This submission failed with error code(s) 2003,1201 which point to problems with Microsoft.NETCore.UniversalWindowsPlatform, but I've not changed that in this submission. Here's a listing of the nuget packages that I changed with this new submission:
Microsoft AppCenter 2.1.1 to 2.6.4
Xamarin.Forms 4.2.0.848062 to 4.4.0.991640
I've also added Xamarin.Essentials 1.3.1
How can I go about troubleshooting this to figure out what the problem is?
Update:
I've determined it is not AppCenter nor Xamarin.Essentials.
Updating from Xamarin.Forms 4.2.0.848062 to 4.3.x OR 4.4.x causes the problem.
In addition, I noticed something I didn't see before: There is a 'silent' error when packaging for the store with Xamarin.Forms 4.3/4.4. This error is NOT present with Xamarin.Forms 4.2.x. The error is:
C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\Microsoft\VisualStudio\v15.0\AppxPackage\Microsoft.AppXPackage.Targets(3385,5): error MSB6006: "mspdbcmf.exe" exited with code 1106.
It seems likely that the above error is related to the submission error.
Update 2:
I found the following post on the mspdbcmf error:
https://developercommunity.visualstudio.com/content/problem/855376/mspdbcmfexe-exited-with-code-1106.html
I used the workaround described and I was able to get rid of the silent build error but my app submission still fails with error 1201.
Hello guys i was working on a Ionic guide to test push notification for dev. after following the tutorial on
http://docs.ionic.io/docs/push-quick-start
i tried to push notification and it does show up in the browser with kind of alert. After that i tried to build for ios. Is this error because it is under development? or it requires full push for ios setup ? like adding the certificates and all... If you guys know please guide me. Thank You.
Here is the error
** BUILD FAILED **
The following build commands failed:
CompileC build/example.build/Debug-iphonesimulator/example.build/Objects-normal/i386/MainViewController.o example/Classes/MainViewController.m normal i386 objective-c com.apple.compilers.llvm.clang.1_0.compiler
(1 failure)
ERROR building one of the platforms:
Error code 65 for command: xcodebuild with args: -xcconfig,/Users/wangeltamang/Documents/est_ionic/platforms/ios/cordova/build-debug.xcconfig,-project,example.xcodeproj,ARCHS=i386,-target,example,-configuration,Debug,-sdk,iphonesimulator,build,VALID_ARCHS=i386,CONFIGURATION_BUILD_DIR=/Users/wangeltamang/Documents/est_ionic/platforms/ios/build/emulator,SHARED_PRECOMPS_DIR=/Users/wangeltamang/Documents/est_ionic/platforms/ios/build/sharedpch
You may not have the required environment or OS to build this project
Error:
Error code 65 for command: xcodebuild with args: -xcconfig,/Users/wangeltamang/Documents/est_ionic/platforms/ios/cordova/build-debug.xcconfig,-project,example.xcodeproj,ARCHS=i386,-target,example,-configuration,Debug,-sdk,iphonesimulator,build,VALID_ARCHS=i386,CONFIGURATION_BUILD_DIR=/Users/wangeltamang/Documents/est_ionic/platforms/ios/build/emulator,SHARED_PRECOMPS_DIR=/Users/wangeltamang/Documents/est_ionic/platforms/ios/build/sharedpch