NativeScript / nativescript-ui-charts

NativeScript wrapper around HiCharts library
Apache License 2.0
26 stars 6 forks source link

[IOS] XCode 14.3: rsync error: some files could not be transferred #48

Closed vicmasa closed 1 year ago

vicmasa commented 1 year ago

Hello everyone, with the ns 8.5 version I am no longer able to debug my app on my IOS emulator. I separated this bug into a dedicated project public to debug it here https://github.com/vicmasa/ns853

Which platform(s) does your issue occur on?

OS: macOS 13.3.1
CPU: (8) arm64 Apple M1 Pro
Shell: /bin/zsh
node: 19.8.1
npm: 9.5.1
nativescript: 8.5.3

# android
java: 11.0.17
ndk: Not Found
apis: Not Found
build_tools: Not Found
system_images: Not Found

# ios
xcode: 14.3/14E222b
cocoapods: 1.12.1
python: 2.7.18
python3: 3.9.6
ruby: 2.7.8
platforms: 
  - DriverKit 22.4
  - iOS 16.4
  - macOS 13.3
  - tvOS 16.4
  - watchOS 9.4

Dependencies

"dependencies": {
  "@nativescript/core": "~8.5.0",
  "@nativescript/theme": "~3.0.2",
  "@nativescript/ui-charts": "^0.2.4"
},
"devDependencies": {
  "@nativescript/android": "8.5.0",
  "@nativescript/ios": "8.5.1",
  "@nativescript/webpack": "~5.0.14"
}

NS DOCTOR No issues were detected. ✔ Your ANDROID_HOME environment variable is set and points to correct directory. ✔ Your adb from the Android SDK is correctly installed. ✔ The Android SDK is installed. ✔ A compatible Android SDK for compilation is found. ✔ Javac is installed and is configured properly. ✔ The Java Development Kit (JDK) is installed and is configured properly. ✔ Xcode is installed and is configured properly. ✔ xcodeproj is installed and is configured properly. ✔ CocoaPods are installed. ✔ CocoaPods update is not required. ✔ CocoaPods are configured properly. ✔ Your current CocoaPods version is newer than 1.0.0. ✔ Python installed and configured correctly. ✔ The Python 'six' package is found. ✔ Xcode version 14.3.0 satisfies minimum required version 10. ✔ Getting NativeScript components versions information... ✔ Component nativescript has 8.5.3 version and is up to date. ✔ Component @nativescript/core has 8.5.1 version and is up to date. ✔ Component @nativescript/ios has 8.5.1 version and is up to date. ✔ Component @nativescript/android has 8.5.0 version and is up to date.

ERROR DETAILS:

Searching for devices... Preparing project... webpack is watching the files... assets by status 87.4 KiB [compared for emit] asset runtime.js 86.2 KiB [emitted] [compared for emit] (name: runtime) asset tns_modules/inspector_modules.js 1.22 KiB [compared for emit] (name: tns_modules/inspector_modules) asset vendor.js 7.27 MiB [emitted] (name: vendor) (id hint: defaultVendor) asset bundle.js 357 KiB [emitted] (name: bundle) Entrypoint bundle 7.7 MiB = runtime.js 86.2 KiB vendor.js 7.27 MiB bundle.js 357 KiB Entrypoint tns_modules/inspector_modules 7.35 MiB = runtime.js 86.2 KiB vendor.js 7.27 MiB tns_modules/inspector_modules.js 1.22 KiB runtime modules 24.8 KiB 11 modules orphan modules 302 bytes [orphan] 5 modules modules by path ./node_modules/@nativescript/ 1.76 MiB 301 modules modules by path ./node_modules/css-tree/ 317 KiB 113 modules modules by path ./app/ 128 KiB 13 modules modules by path ./node_modules/source-map/lib/.js 36.3 KiB 6 modules modules by path ./node_modules/reduce-css-calc/dist/ 131 KiB 5 modules modules by path ./node_modules/postcss-value-parser/lib/.js 12.5 KiB ./node_modules/postcss-value-parser/lib/index.js 607 bytes [built] [code generated]

Unable to apply changes on device: BAE26DD3-AAD3-4BAD-82DD-E64231EFC609. Error is: Command xcodebuild failed with exit code 65.

NathanWalker commented 1 year ago

Hi @vicmasa it appears the package shared is not complete as the stack shows the issue being an older version of google maps plugin in use: @nativescript/google-maps

When possible to share full package in use so we can confirm versions in use. The output indicates a google maps arm64 issue in addition to other m1 expected cases when lower than needed versions are used of those plugins.

NathanWalker commented 1 year ago

See here: https://github.com/NativeScript/plugins/issues/483#issuecomment-1532352412

In future, if don't get a response within 72 hours, feel free to send email to any partner: https://nativescript.org/partners

NathanWalker commented 1 year ago

Regarding the title of this issue rsync error - that was a widely reported iOS ecosystem cocoapods issue here. If you encounter that, just make sure you updated cocoapods on your system:

  1. which pod to confirm where your cocoapods are installed.

A. If found to be in directory starting with /usr/local, likely sudo gem install cocoapods

B. If found to be in directory starting with /usr/homebrew, then brew install cocoapods

  1. Confirm with pod --version that you have latest 1.12.1 or higher.

  2. Clean project and run again.

NathanWalker commented 1 year ago

Closing this in favor of https://github.com/NativeScript/plugins/issues/483 - can continue confirmation there.