Command PhaseScriptExecution failed with a nonzero exit code xcode 13.2 flutter - ios

i try to build an ios app using xcode 13.2.1 but I have that error
Command PhaseScriptExecution failed with a nonzero exit code
I work on flutter project not native ios app
../../Developer/flutter/.pub-cache/hosted/pub.dartlang.org/modal_bottom_sheet-2.0.0/lib/src/bottom_sheet.dart:303:28: Error: Couldn't find constructor 'VelocityTracker'.
_velocityTracker = VelocityTracker();
^^^^^^^^^^^^^^^
Failed to package /Users/sayed/Desktop/altrapay.
Command PhaseScriptExecution failed with a nonzero exit code
I also try flutter clean and flutter pub get and pod install and pod upgrade after cleaning my codepads cash but I still have the same error

Related

Command PhaseScriptExecution failed with a nonzero exit code : React Native

When I try to build my react native application in Xcode(14.2), I'm getting following error
Command PhaseScriptExecution failed with a nonzero exit code
I tried nvm unalias default but it didn't worked.
Anyone have an idea to fix this build failed issue ?
Anyone have an idea to fix this build failed issue ?
error build: Command PhaseScriptExecution failed with a nonzero exit code

Xcode 12.0.1 Command PhaseScriptExecution failed with a nonzero exit code for ZendeskSDK

I try to build the project in Xcode 12.0.1 but can't build with the error "Command PhaseScriptExecution failed with a nonzero exit code"
I installed ZendeskSDK via cocoapods it seems that the error is generated by ZendeskSDK but can 't solve the issue
Frameworks/ZendeskSDK.framework/strip-frameworks.sh: No such file or directory
In my case problem solved this way;
Go to build settings and add type "arm64" in "Excluded Architectures"

Xcode 11.6 fails with: Command PhaseScriptExecution failed with a nonzero exit code

I have a flutter application using Firebase / Firestore. In my flutter application flutter build iOS is working but in Xcode the Archive and building in General fails with
Command PhaseScriptExecution failed with a nonzero exit code
I already tried:
keychain access -> right click on login -> lock & unlock again -> clear Xcode project and make build again.
also pod deintegrate etc. is not working
But it is not working. Also tried setting up new project but after firestore integration it fails.
The domain/default pair of (/Users/username/Library/Developer/Xcode/DerivedData/Runner-bhnxzkbbayxxhjauqwbcxaiedcis/Build/Products/Debug-iphonesimulator/Runner.app/Frameworks/App.framework/flutter_assets/ios/Flutter/App.framework/Info.plist, CFBundleExecutable) does not exist
fatal error: lipo: can't map input file: /Users/username/Library/Developer/Xcode/DerivedData/Runner-bhnxzkbbayxxhjauqwbcxaiedcis/Build/Products/Debug-iphonesimulator/Runner.app/Frameworks/App.framework/flutter_assets/ios/Flutter/App.framework/ (Invalid argument)
fatal error: lipo: can't map input file: /Users/username/Library/Developer/Xcode/DerivedData/Runner-bhnxzkbbayxxhjauqwbcxaiedcis/Build/Products/Debug-iphonesimulator/Runner.app/Frameworks/App.framework/flutter_assets/ios/Flutter/App.framework/ (Invalid argument)
Failed to extract x86_64 for /Users/username/Library/Developer/Xcode/DerivedData/Runner-bhnxzkbbayxxhjauqwbcxaiedcis/Build/Products/Debug-iphonesimulator/Runner.app/Frameworks/App.framework/flutter_assets/ios/Flutter/App.framework/. Running lipo -info:
fatal error: lipo: can't map input file: /Users/username/Library/Developer/Xcode/DerivedData/Runner-bhnxzkbbayxxhjauqwbcxaiedcis/Build/Products/Debug-iphonesimulator/Runner.app/Frameworks/App.framework/flutter_assets/ios/Flutter/App.framework/ (Invalid argument)
Command PhaseScriptExecution failed with a nonzero exit code
ok so in my case the problem occurred after a flutter upgrade. My app is on the stable channel and I updated it to the current stable version.
before that it was running on 1.17.5 there everything was working fine, the error occurred on 1.20.0
so the solution was a downgrade back to 1.17.5
In my case it worked when set Excluded Architectures -> arm64

xcodebuild: Command failed with exit code 65 FacebookConnectPlugin.m

I've created an Ionic 4 app with Facebook login. It works great on Android but when I attempt to build on the iOS platform I get the following error:
x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler (1
failure) xcodebuild: Command failed with exit code 65 [ERROR] An error
occurred while running subprocess cordova.
I get that error with
sudo ionic cordova build ios -allowProvisioningUpdates
If I then open the app in Xcode and attempt to build I get the following error:
/Users/anonymous/Development/Mundo1.5/platforms/ios/Buddy
Pass/Plugins/cordova-plugin-facebook4/FacebookConnectPlugin.h:13:9:
'FBSDKCoreKit/FBSDKCoreKit.h' file not found

Xcodebuild failed exit code 65 - ios

Receiving the following error when doing a
tns run -v ios
(mac is running High Sierra and xcode is current, certificates are in place, etc). any assistance would be greatly appreciated. Here the error:
`Building project...
Xcode build...
=== BUILD TARGET HelloWorld OF PROJECT HelloWorld WITH CONFIGURATION Debug ===
ld: framework not found FileProvider for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
ld: framework not found FileProvider for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
=== BUILD TARGET HelloWorld OF PROJECT HelloWorld WITH CONFIGURATION Debug ===
error: the following command failed with exit code 1 but produced no further output
Ld build/HelloWorld.build/Debug-iphonesimulator/HelloWorld.build/Objects-normal/x86_64/HelloWorld normal x86_64
** BUILD FAILED **
Unable to apply changes on device: B71912B9-B650-4EBF-AB43-3383136CB95F. Error is: Command xcodebuild failed with exit code 65.
Executing after-watch hook from /Users/XXX/temp/NATIVE/HelloWorld/hooks/after-watch/nativescript-dev-webpack.js`
run tns build ios --clean --log trace first ,if the log trace is related to some plugin, use whose latest version in the package.json file , run npm install, than run tns build ios --clean --log trace again.
if it not work, run tns prepare ios --release and open {app-name}/platforms/ios/{app-name}.xcworkspace file with xcode , try run it, xcode will tell you where is the problem.

Categories

Resources