Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug: "ionic cap add ios" width error, also build width error #2625

Closed
1 of 4 tasks
AlwaysLoveme opened this issue Mar 24, 2020 · 2 comments
Closed
1 of 4 tasks

bug: "ionic cap add ios" width error, also build width error #2625

AlwaysLoveme opened this issue Mar 24, 2020 · 2 comments

Comments

@AlwaysLoveme
Copy link

AlwaysLoveme commented Mar 24, 2020

Bug Report

Capacitor Version

npx cap doctor output:

💊   Capacitor Doctor  💊 

Latest Dependencies:

  @capacitor/cli: 1.5.1

  @capacitor/core: 1.5.1

  @capacitor/android: 1.5.1

  @capacitor/electron: 1.5.1

  @capacitor/ios: 1.5.1

Installed Dependencies:

  @capacitor/electron not installed


  @capacitor/cli 2.0.0-beta.0

  @capacitor/core 2.0.0-beta.0

  @capacitor/android 2.0.0-beta.0

  @capacitor/ios 2.0.0-beta.0

[success] Android looking great! 👌
  Found 10 Capacitor 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)
[success] iOS looking great! 👌

Affected Platform(s)

  • Android
  • iOS
  • Electron
  • Web

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

> 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

@AlwaysLoveme
Copy link
Author

it seems like something wrong with plugin "cordova-plugin-gaodelocation-chenyu"

@ionitron-bot
Copy link

ionitron-bot bot commented Nov 12, 2022

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.

@ionitron-bot ionitron-bot bot locked and limited conversation to collaborators Nov 12, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant