Closed
Description
- CLI: 5.3.2
When building with Sidekick for iOS in the cloud for the release I get the following error:
[19-04-21 17:33:16.698] (CLI) App_Resources/iOS/baseline_share_black_24@2x.png 14.7 KiB [emitted]
[19-04-21 17:33:16.698] (CLI) App_Resources/iOS/baseline_share_black_24@3x.png 15.2 KiB [emitted]
[19-04-21 17:33:16.698] (CLI) App_Resources/iOS/build.xcconfig 504 bytes [emitted]
[19-04-21 17:33:16.698] (CLI) App_Resources/iOS/GoogleService-Info.plist 1.38 KiB [emitted]
[19-04-21 17:33:16.698] (CLI) App_Resources/iOS/Info.plist 1.47 KiB [emitted]
[19-04-21 17:33:16.698] (CLI) App_Resources/iOS/LaunchScreen.storyboard 3.84 KiB [emitted]
[19-04-21 17:33:16.698] (CLI) App_Resources/iOS/PodFile 207 bytes [emitted]
[19-04-21 17:33:16.698] (CLI) assets/images/fork.png 18.8 KiB [emitted]
[19-04-21 17:33:16.698] (CLI) assets/images/hero.png 113 KiB [emitted]
[19-04-21 17:33:16.698] (CLI) assets/images/star.png 18.5 KiB [emitted]
[19-04-21 17:33:16.698] (CLI) package.json 129 bytes [emitted]
[19-04-21 17:33:16.698] (CLI) starter.js 39 bytes [emitted]
[19-04-21 17:33:16.698] (CLI) Entrypoint bundle = vendor.js bundle.js
[19-04-21 17:33:16.698] (CLI) [../node_modules/babel-loader/lib/index.js!../node_modules/vue-loader/lib/index.js?!./views/News.vue?vue&type=script&lang=js&] ../node_modules/babel-loader/lib!../node_modules/vue-loader/lib??vue-loader-options!./views/News.vue?vue&type=script&lang=js& 8.53 KiB {bundle} [built]
[19-04-21 17:33:16.698] (CLI) [./ sync ^\\.\\/app\\.(css|scss|less|sass)$] . sync nonrecursive ^\\.\\/app\\.(css|scss|less|sass)$ 175 bytes {bundle} [built]
[19-04-21 17:33:16.698] (CLI) [./ sync recursive (root|page)\\.(xml|css|js|ts|scss)$] . sync (root|page)\\.(xml|css|js|ts|scss)$ 160 bytes {bundle} [built]
[19-04-21 17:33:16.698] (CLI) [./main.js] 2.44 KiB {bundle} [built]
[19-04-21 17:33:16.698] (CLI) [./services/fetchGitnews.js] 5.29 KiB {bundle} [built]
[19-04-21 17:33:16.698] (CLI) [./services/getReadme.js] 18.8 KiB {bundle} [built]
[19-04-21 17:33:16.698] (CLI) [./store/index.js] 280 bytes {bundle} [built]
[19-04-21 17:33:16.698] (CLI) [./store/modules/news.js] 3.58 KiB {bundle} [built]
[19-04-21 17:33:16.698] (CLI) [./store/modules/readme.js] 1.53 KiB {bundle} [built]
[19-04-21 17:33:16.698] (CLI) [./store/modules/settings.js] 1.12 KiB {bundle} [built]
[19-04-21 17:33:16.698] (CLI) [./store/mutation-types.js] 744 bytes {bundle} [built]
[19-04-21 17:33:16.698] (CLI) [./views/News.vue] 1.2 KiB {bundle} [built]
[19-04-21 17:33:16.698] (CLI) [./views/News.vue?vue&type=script&lang=js&] 346 bytes {bundle} [built]
[19-04-21 17:33:16.698] (CLI) [./views/News.vue?vue&type=style&index=0&id=58888802&scoped=true&lang=css&] 796 bytes {bundle} [built]
[19-04-21 17:33:16.698] (CLI) [./views/News.vue?vue&type=template&id=58888802&scoped=true&] 214 bytes {bundle} [built]
[19-04-21 17:33:16.698] (CLI) + 272 hidden modules
[19-04-21 17:33:16.698] (CLI) Webpack compilation complete.
[19-04-21 17:33:19.687] (CLI) Installing pods...
[19-04-21 17:33:21.240] (CLI) Analyzing dependencies
[19-04-21 17:33:21.240] (CLI) Downloading dependencies
[19-04-21 17:33:21.240] (CLI) Installing Firebase (5.6.0)
[19-04-21 17:33:21.240] (CLI) Installing FirebaseAnalytics (5.1.1)
[19-04-21 17:33:21.240] (CLI) Installing FirebaseCore (5.1.1)
[19-04-21 17:33:21.240] (CLI) Installing FirebaseInstanceID (3.2.1)
[19-04-21 17:33:21.240] (CLI) Installing GoogleAppMeasurement (5.8.1)
[19-04-21 17:33:21.240] (CLI) Installing GoogleUtilities (5.2.3)
[19-04-21 17:33:21.240] (CLI) Installing Socket.IO-Client-Swift (11.1.3)
[19-04-21 17:33:21.240] (CLI) Installing StarscreamSocketIO (8.0.7)
[19-04-21 17:33:21.240] (CLI) Installing Toaster (2.0.4)
[19-04-21 17:33:21.240] (CLI) Installing nanopb (0.3.901)
[19-04-21 17:33:21.240] (CLI) [!] Unable to determine Swift version for the following pods:
[19-04-21 17:33:21.240] (CLI) - `Socket.IO-Client-Swift` does not specify a Swift version and none of the targets (`gitnews`) integrating it have the `SWIFT_VERSION` attribute set. Please contact the author or set the `SWIFT_VERSION` attribute in at least one of the targets that integrate this pod.
[19-04-21 17:33:21.240] (CLI) - `StarscreamSocketIO` does not specify a Swift version and none of the targets (`gitnews`) integrating it have the `SWIFT_VERSION` attribute set. Please contact the author or set the `SWIFT_VERSION` attribute in at least one of the targets that integrate this pod.
[19-04-21 17:33:21.240] (CLI) - `Toaster` does not specify a Swift version and none of the targets (`gitnews`) integrating it have the `SWIFT_VERSION` attribute set. Please contact the author or set the `SWIFT_VERSION` attribute in at least one of the targets that integrate this pod.
[19-04-21 17:33:21.240] (CLI) [!] Automatically assigning platform `ios` with version `9.0` on target `gitnews` because no platform was specified. Please specify a platform for this target in your Podfile. See `https://guides.cocoapods.org/syntax/podfile.html#platform`.
[19-04-21 17:33:21.240] (CLI) 'pod install' command failed.
[19-04-21 17:33:22.763] (CLI) clean-webpack-plugin: /private/tmp/builds/_/c807f4e01e6ac063c1b09d4fbaef956ea909e125/5.3.2/5.3.1/gitnews/platforms/ios/gitnews/app/**/* has been removed.
[19-04-21 17:33:22.763] (CLI) Browserslist: caniuse-lite is outdated. Please run next command `yarn upgrade caniuse-lite browserslist`
[19-04-21 17:33:22.763] (CLI) 'pod install' command failed.
[19-04-21 17:33:33.785] Build step completed.
I tried this by adding a PodFile
in app/AppResources/Platform/iOS
https://medium.com/@championswimmer/setting-swift-version-in-nativescript-6ece09112a46z
But it doesn't work maybe because it's built on the cloud.