You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
> capacitor add ios
ℹ Installing iOS dependencies – Skipping: already installed
✔ Adding native xcode project in: /Users/zhuxian/Desktop/work/measuringShop/ios in 57.75ms
✔ add in 61.22ms
✔ Copying web assets from www to ios/App/public in 2.88s
✔ Copying native bridge in 4.49ms
✔ Copying capacitor.config.json in 4.66ms
⠼ copy Found 10 Cordova plugins for ios
cordova-plugin-camera (4.1.0)
cordova-plugin-device (2.0.3)
cordova-plugin-file (6.0.2)
cordova-plugin-file-transfer (1.7.1)
cordova-plugin-gaodelocation-chenyu (2.0.4)
cordova-plugin-jcore (1.3.1)
cordova-plugin-media-capture (3.0.3)
cordova-plugin-qrscanner (3.0.1)
cordova-plugin-streaming-media (2.2.0)
jpush-phonegap-plugin (3.7.3)
✔ copy in 3.43s
✔ Updating iOS plugins in 61.37ms
Found 0 Capacitor plugins for ios:
Found 10 Cordova plugins for ios
cordova-plugin-camera (4.1.0)
cordova-plugin-device (2.0.3)
cordova-plugin-file (6.0.2)
cordova-plugin-file-transfer (1.7.1)
cordova-plugin-gaodelocation-chenyu (2.0.4)
cordova-plugin-jcore (1.3.1)
cordova-plugin-media-capture (3.0.3)
cordova-plugin-qrscanner (3.0.1)
cordova-plugin-streaming-media (2.2.0)
jpush-phonegap-plugin (3.7.3)
✖ Updating iOS native dependencies with "pod install" (may take several minutes):
✖ update ios:
[error] Error running update: Analyzing dependencies
Downloading dependencies
Installing Capacitor (2.0.0-beta.0)
Installing CapacitorCordova (2.0.0-beta.0)
Installing CordovaPlugins (2.0.0-beta.0)
Installing CordovaPluginsResources (0.0.105)
Generating Pods project
Integrating client project
Pod installation complete! There are 4 dependencies from the Podfile and 4 total pods installed.
/Users/zhuxian/.rvm/rubies/ruby-2.7.0/lib/ruby/gems/2.7.0/gems/cocoapods-core-1.9.1/lib/cocoapods-core/cdn_source.rb:337: warning: URI.escape is obsolete
/Users/zhuxian/.rvm/rubies/ruby-2.7.0/lib/ruby/gems/2.7.0/gems/nanaimo-0.2.6/lib/nanaimo/writer/pbxproj.rb:13: warning: Using the last argument as keyword parameters is deprecated; maybe ** should be added to the call
/Users/zhuxian/.rvm/rubies/ruby-2.7.0/lib/ruby/gems/2.7.0/gems/nanaimo-0.2.6/lib/nanaimo/writer.rb:35: warning: The called method `initialize' is defined here
/Users/zhuxian/.rvm/rubies/ruby-2.7.0/lib/ruby/gems/2.7.0/gems/cocoapods-core-1.9.1/lib/cocoapods-core/cdn_source.rb:337: warning: URI.escape is obsolete
xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance
build error information:
/Users/zhuxian/Desktop/work/measuringShop/ios/capacitor-cordova-ios-plugins/sources/CordovaPluginGaodelocationChenyu/libs/ios/AMapFoundationKit.framework/Modules/module.modulemap:2:19: Umbrella for module 'CordovaPlugins' already covers this directory
/Users/zhuxian/Desktop/work/measuringShop/ios/capacitor-cordova-ios-plugins/sources/CordovaPluginGaodelocationChenyu/libs/ios/AMapFoundationKit.framework/Modules/module.modulemap:5:10: Inferred submodules require a module with an umbrella
/Users/zhuxian/Desktop/work/measuringShop/ios/capacitor-cordova-ios-plugins/sources/CordovaPluginGaodelocationChenyu/libs/ios/AMapFoundationKit.framework/Headers/AMapFoundationKit.h:9:9: Include of non-modular header inside framework module 'CordovaPlugins.AMapFoundationKit': '/Users/zhuxian/Desktop/work/measuringShop/ios/capacitor-cordova-ios-plugins/sources/CordovaPluginGaodelocationChenyu/libs/ios/AMapFoundationKit.framework/Headers/AMapFoundationVersion.h'
Command CompileSwift failed with a nonzero exit code
npm --version output: 6.14.3
node --version output: 12.16.1
pod --version output (iOS issues only): 1.9.1
Other Information
The text was updated successfully, but these errors were encountered:
Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Capacitor, please create a new issue and ensure the template is fully filled out.
Bug Report
Capacitor Version
npx cap doctor
output:Affected Platform(s)
Current Behavior
add ios platform width error , and build width error too.
Expected Behavior
add ios platform success and build success
Sample Code or Sample Application Repo
Reproduction Steps
Other Technical Details
error informations
build error information:
npm --version
output: 6.14.3node --version
output: 12.16.1pod --version
output (iOS issues only): 1.9.1Other Information
The text was updated successfully, but these errors were encountered: