ionic-team / capacitor

Build cross-platform Native Progressive Web Apps for iOS, Android, and the Web ⚑️

Home Page:https://capacitorjs.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Bug]: v6 ios biuld errors

j-d-carmichael opened this issue Β· comments

Capacitor Version

[warn] The bundledWebRuntime configuration option has been deprecated. Can be safely deleted.
πŸ’Š Capacitor Doctor πŸ’Š

Latest Dependencies:

@capacitor/cli: 6.0.0
@capacitor/core: 6.0.0
@capacitor/android: 6.0.0
@capacitor/ios: 6.0.0

Installed Dependencies:

@capacitor/cli: 6.0.0
@capacitor/core: 6.0.0
@capacitor/android: 6.0.0
@capacitor/ios: 6.0.0

[success] iOS looking great! πŸ‘Œ
[success] Android looking great! πŸ‘Œ

Other API Details

npm   10.5.2
node  20.13.1
pod 1.12.0

Platforms Affected

  • iOS
  • Android
  • Web

Current Behavior

The simulator builds just fine.

As soon as i build for archive i get the following error:

Showing Recent Issues
PhaseScriptExecution [CP]\ Embed\ Pods\ Frameworks /Users/johnsmith/Library/Developer/Xcode/DerivedData/App-ecfxvojxwspqumeutlhtgdqpskwm/Build/Intermediates.noindex/ArchiveIntermediates/App/IntermediateBuildFilesPath/App.build/Release-iphoneos/App.build/Script-9592DBEFFC6D2A0C8D5DEB22.sh (in target 'App' from project 'App')
    cd /Users/johnsmith/code/myapp/frontend/frontend-fe_main_vue2/ios/App
    /bin/sh -c /Users/johnsmith/Library/Developer/Xcode/DerivedData/App-ecfxvojxwspqumeutlhtgdqpskwm/Build/Intermediates.noindex/ArchiveIntermediates/App/IntermediateBuildFilesPath/App.build/Release-iphoneos/App.build/Script-9592DBEFFC6D2A0C8D5DEB22.sh
 
mkdir -p /Users/johnsmith/Library/Developer/Xcode/DerivedData/App-ecfxvojxwspqumeutlhtgdqpskwm/Build/Intermediates.noindex/ArchiveIntermediates/App/BuildProductsPath/Release-iphoneos/App.app/Frameworks
Symlinked...
rsync --delete -av --filter P .*.?????? --links --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "../../../IntermediateBuildFilesPath/UninstalledProducts/iphoneos/Capacitor.framework" "/Users/johnsmith/Library/Developer/Xcode/DerivedData/App-ecfxvojxwspqumeutlhtgdqpskwm/Build/Intermediates.noindex/ArchiveIntermediates/App/InstallationBuildProductsLocation/Applications/App.app/Frameworks"
building file list ... rsync: link_stat "/Users/johnsmith/code/myapp/frontend/frontend-fe_main_vue2/ios/App/../../../IntermediateBuildFilesPath/UninstalledProducts/iphoneos/Capacitor.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/Library/BuildRoots/ce725a5f-c761-11ee-a4ec-b6ef2fd8d87b/Library/Caches/com.apple.xbs/Sources/rsync/rsync/main.c(996) [sender=2.6.9]
Command PhaseScriptExecution failed with a nonzero exit code
 
mkdir -p /Users/johnsmith/Library/Developer/Xcode/DerivedData/App-ecfxvojxwspqumeutlhtgdqpskwm/Build/Intermediates.noindex/ArchiveIntermediates/App/BuildProductsPath/Release-iphoneos/App.app/Frameworks
 
Symlinked...
 
rsync --delete -av --filter P .*.?????? --links --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "../../../IntermediateBuildFilesPath/UninstalledProducts/iphoneos/Capacitor.framework" "/Users/johnsmith/Library/Developer/Xcode/DerivedData/App-ecfxvojxwspqumeutlhtgdqpskwm/Build/Intermediates.noindex/ArchiveIntermediates/App/InstallationBuildProductsLocation/Applications/App.app/Frameworks"
 
building file list ... rsync: link_stat "/Users/johnsmith/code/myapp/frontend/frontend-fe_main_vue2/ios/App/../../../IntermediateBuildFilesPath/UninstalledProducts/iphoneos/Capacitor.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/Library/BuildRoots/ce725a5f-c761-11ee-a4ec-b6ef2fd8d87b/Library/Caches/com.apple.xbs/Sources/rsync/rsync/main.c(996) [sender=2.6.9]
 
Command PhaseScriptExecution failed with a nonzero exit code

Expected Behavior

It builds

Project Reproduction

I cannot do this at the moment

Additional Information

I did have to fix another issue in the capacitor push notifications to get the ios on simulator to build:

ionic-team/capacitor-plugins#2101

This issue needs more information before it can be addressed. In particular, the reporter needs to provide a minimal sample app that demonstrates the issue. If no sample app is provided within 15 days, the issue will be closed.
Please see the Contributing Guide for how to create a Sample App.
Thanks! Ionitron πŸ’™

It looks like this issue didn't get the information it needed, so I'll close it for now. If I made a mistake, sorry! I am just a bot.

Have a great day!
Ionitron πŸ’™