I'm using cloud mac server for releasing in ios. And before changing my mac, i succesfully finished build of my ios app, but then i changed my mac server, now when i try to build, getting error below, what can i do to fix this issue, i tried solutions from duplicates of this error but none of them worked for me.
ERROR
building file list ... rsync: link_stat "/Users/user191346/Desktop/rate_prof/rate_prof/ios/Flutter/App.framework" failed: No
such file or directory (2)
done
sent 29 bytes received 20 bytes 98.00 bytes/sec
total size is 0 speedup is 0.00
rsync error: some files could not be transferred (code 23) at
/AppleInternal/BuildRoot/Library/Caches/com.apple.xbs/Sources/rsync/rsync-54.120.1/rsync/main.c(996) [sender=2.6.9]
Command PhaseScriptExecution failed with a nonzero exit code
note: Using new build system
note: Building targets in parallel
note: Planning build
note: Constructing build description
Related
Building a React Native Expo app (prebuild on iOS, not using Expo Go) and running into this esoteric error that I can't seem to find elsewhere on the internet.
I'll post it here for the next unlucky React Native dev, and perhaps I'll find a solution and post that too.
expo run:ios output:
⚠️ (../../Library/Developer/Xcode/DerivedData/MyProject-epxolwjjgmimbdefugnlecrdysuv/Build/Intermediates.noindex/PrecompiledHeaders/MyProject-Bridging-Header-2vyenlvwppgam.dia:1:1)
Command PrecompileSwiftBridgingHeader failed with a nonzero exit code
^ Could not read serialized diagnostics file: error(in target 'MyProject' from project 'MyProject')
❌ error: generate-pch command failed with exit code 1 (use -v to see invocation)
› 1 error(s), and 1 warning(s)
Failed to build iOS project. "xcodebuild" exited with error code 65.
Xcode build output:
<unknown>:0: error: error opening input file '/Users/jh/Code/MyProject/ios/MyProject/MyProject-Bridging-Header.h' (No such file or directory)
<unknown>:0: error: cannot open file '/Users/jh/Library/Developer/Xcode/DerivedData/MyProject-epxolwjjgmimbdefugnlecrdysuv/Build/Intermediates.noindex/PrecompiledHeaders/MyProject-Bridging-Header-e8n926ydzbc0.dia' for diagnostics emission (No such file or directory)
/Users/jh/Library/Developer/Xcode/DerivedData/MyProject-epxolwjjgmimbdefugnlecrdysuv/Build/Intermediates.noindex/PrecompiledHeaders/MyProject-Bridging-Header-e8n926ydzbc0.dia:1:1: warning: Could not read serialized diagnostics file: error("Failed to open diagnostics file") (in target 'MyProject' from project 'MyProject')
Command PrecompileSwiftBridgingHeader failed with a nonzero exit code
Expo SDK version 44. I'm on a 2022 Mac Studio M1.
Okay, found the solution!
I had used npx react-native-rename to rename my project, but it didn't rename the Swift bridging header.
It's located in ios/MyProject/<oldname>-Bridging-Header.h.
renamed: ios/MyProject/OldName-Bridging-Header.h -> ios/MyProject/MyProject-Bridging-Header.h
While I was doing this, I also discovered that several of my bundle identifiers hadn't been moved over either. Do a codebase search for com.yourorganization.youroldbundlename to find & replace those too.
The locations I had to update:
./ios/MyProject.xcodeproj/project.pbxproj
./ios/MyProject/Info.plist
./app.json
I am trying to run a skeleton app that compiles and works fine on the simulator, but doesn't run on the actual iPhone SE device.
Getting error -Command PhaseScriptExecution failed with a nonzero exit code
Mac - 10.15.5,
iPhone SE 20 (13.6.1),
Flutter - 1.17.5
I tried all suggestions I could find - cleaning derived data, pods clean/ install, restart mac, everything. But couldn't figure out whats the problem.
I recently got a developer account too. But still this error.
App.framework/flutter_assets/fonts/
App.framework/flutter_assets/fonts/MaterialIcons-Regular.ttf
App.framework/flutter_assets/packages/
App.framework/flutter_assets/packages/cupertino_icons/
App.framework/flutter_assets/packages/cupertino_icons/assets/
App.framework/flutter_assets/packages/cupertino_icons/assets/CupertinoIcons.ttf
sent 31997420 bytes received 276 bytes 63995392.00 bytes/sec
total size is 31992548 speedup is 1.00
building file list ... done
Flutter.framework/
Flutter.framework/Flutter
Flutter.framework/Info.plist
Flutter.framework/icudtl.dat
Flutter.framework/_CodeSignature/
Flutter.framework/_CodeSignature/CodeResources
sent 98452082 bytes received 120 bytes 39380880.80 bytes/sec
total size is 98439669 speedup is 1.00
/Users/smita/Library/Developer/Xcode/DerivedData/Runner-
beowdflneetuphdplieauikvuyjp/Build/Products/Debug-
iphoneos/Runner.app/Frameworks/App.framework/App: errSecInternalComponent
**Command PhaseScriptExecution failed with a nonzero exit code**
I tried to connect flutter project to my iPhone, but suddenly this error showed up after adding Google AdMob. I've already tried keychain solution(Xcode 10.2.1 Command PhaseScriptExecution failed with a nonzero exit code), pod deintegrate, pod clean, pod install . Also I changed project configurations variously, but it didn't work.
Build target Runner
Project Runner | Configuration Debug | Destination Ryan's iPhone | SDK iOS 13.6`
Run custom shell script 'Thin Binary' 0.1 seconds`
building file list ... rsync: link_stat "/Volumes/\#341\#204\#213\#341\#205\#265\#341\#204\#207\#341\#205\#265\#341\#206\#253\#341\#204\#202\#341\#205\#241 01071958737/DEVELOPER/dont_forget/ios/../ios/Flutter/App.framework" failed: No such file or directory (2)
done
sent 29 bytes received 20 bytes 98.00 bytes/sec
total size is 0 speedup is 0.00
rsync error: some files could not be transferred (code 23) at /AppleInternal/BuildRoot/Library/Caches/com.apple.xbs/Sources/rsync/rsync-54.120.1/rsync/main.c(996) [sender=2.6.9]
Command PhaseScriptExecution failed with a nonzero exit code
Deleting derived data worked for me.
Here is the logs I get when I try to build ios:
Project successfully prepared (ios)
Configure firebase
Building project...
Xcode build...
/Users/me/Desktop/vt/vt_tv/front/Native/App/platforms/ios/Pods/ASBPlayerSubtitling/ASBPlayerSubtitling/ASBPlayerSubtitling.m:41:1: warning:
method possibly missing a [super awakeFromNib] call [-Wobjc-missing-super-calls]
}
^
// Then I get a long list of my icon resources
warning: 'UILaunchImages' has been deprecated, use launch storyboards instead. (in target 'App' from project 'App')
error: cannot parse the debug map for '/Users/me/Desktop/vt/vt-tv/front/Native/App/platforms/ios/build/Debug-iphonesimulator/App.app/App': Is a directory
rsync error: received SIGINT, SIGTERM, or SIGHUP (code 20) at /BuildRoot/Library/Caches/com.apple.xbs/Sources/rsync/rsync-52.200.1/rsync/rsync.c(244) [sender=2.6.9]
Command PhaseScriptExecution failed with a nonzero exit code
note: Using new build system
note: Planning build
note: Constructing build description
** BUILD FAILED **
I am trying to create a Docker image that runs draw.io (https://www.draw.io/).
I recently did download the draw.io git repository from https://github.com/jgraph/draw.io (version 5.6.0.3) and spend quite some time building draw.war (which can be deployed in a web container), without any luck so far. I did read all the draw.io documentation that is provided in the repository and searched the internet for hours to find out how to build draw.war, but I couldn't find an answer.
The root directory of the repository is /tmp/draw.io-master/ and the ANT build file (build.xml) and related propery file (build.properties) can be found in /tmp/draw.io-master/etc/build
When I run 'ant' from /tmp/draw.io-master/etc/build I get the following error:
Buildfile: /tmp/draw.io-master/etc/build/build.xml
[jscomp] Compiling 1 file(s) with 40 extern(s)
[jscomp] ERROR - Cannot read: /tmp/draw.io-master/etc/build/${desktop.dir}/Desktop-Init.js
[jscomp] 1 error(s), 0 warning(s)
BUILD FAILED
/tmp/draw.io-master/etc/build/build.xml:451: Compilation failed.
Total time: 0 seconds
When I run 'ant war -buildfile /tmp/draw.io-master/etc/build/build.xml -propertyfile /tmp/draw.io-master/etc/build/build.properties -Dbasedir=/tmp/draw.io-master/etc/build -Ddesktop.dir=/tmp' I get the following error:
Buildfile: /tmp/draw.io-master/etc/build/build.xml
[jscomp] Compiling 1 file(s) with 40 extern(s)
[jscomp] ERROR - Cannot read: /tmp/Desktop-Init.js
[jscomp] 1 error(s), 0 warning(s)
BUILD FAILED
/tmp/draw.io-master/etc/build/build.xml:451: Compilation failed.
Total time: 0 seconds
I don't know what the right value of 'desktop.dir' is and I also don't know how to obtain / create Desktop-Init.js.
Any suggestions?
To fallback to http instead of https, you could use a redirection in Jetty, and add the url parameter "https=0", see https://support.draw.io/pages/viewpage.action?pageId=12878136.
Any place where you could share the resulting war, if successful?