Skip to content

Instantly share code, notes, and snippets.

@AngeloAnolin
Created October 27, 2018 16:33
Show Gist options
  • Save AngeloAnolin/40baff74d09259cc198f20fc31cde0db to your computer and use it in GitHub Desktop.
Save AngeloAnolin/40baff74d09259cc198f20fc31cde0db to your computer and use it in GitHub Desktop.
NativeScript Error
Skipping node_modules folder! Use the syncAllFiles option to sync files from this folder.
Searching for devices...
Your application will be deployed only on the device specified by the provided index or identifier.
Executing before-watchPatterns hook from /Users/angelo/Projects/Round2Ipad/hooks/before-watchPatterns/nativescript-dev-webpack.js
Executing before-watch hook from /Users/angelo/Projects/Round2Ipad/hooks/before-watch/nativescript-dev-webpack.js
Copying template files...
Platform ios successfully added. v4.2.0
Executing before-shouldPrepare hook from /Users/angelo/Projects/Round2Ipad/hooks/before-shouldPrepare/nativescript-dev-webpack.js
Preparing project...
Executing before-prepareJSApp hook from /Users/angelo/Projects/Round2Ipad/hooks/before-prepareJSApp/nativescript-dev-webpack.js
Successfully prepared plugin nativescript-fonticon for ios.
Successfully prepared plugin nativescript-socket.io for ios.
Successfully prepared plugin nativescript-theme-core for ios.
Successfully prepared plugin nativescript-toast for ios.
Successfully prepared plugin nativescript-ui-listview for ios.
Successfully prepared plugin nativescript-vue for ios.
Successfully prepared plugin tns-core-modules for ios.
Successfully prepared plugin nativescript-ui-core for ios.
Successfully prepared plugin tns-core-modules-widgets for ios.
Installing pods...
Analyzing dependencies
Downloading dependencies
Installing Socket.IO-Client-Swift (11.1.3)
Installing StarscreamSocketIO (8.0.7)
Installing Toaster (2.0.4)
Generating Pods project
Integrating client project
[!] Please close any current Xcode sessions and use `Round2Ipad.xcworkspace` for this project from now on.
Sending stats
Pod installation complete! There are 2 dependencies from the Podfile and 3 total pods installed.
[WARNING]: [!] Automatically assigning platform `ios` with version `8.0` on target `Round2Ipad` because no platform was specified. Please specify a platform for this target in your Podfile. See `https://guides.cocoapods.org/syntax/podfile.html#platform`.
Project successfully prepared (iOS)
Executing after-prepare hook from /Users/angelo/Projects/Round2Ipad/hooks/after-prepare/nativescript-dev-webpack.js
Building project...
Xcode build...
/Users/angelo/Projects/Round2Ipad/platforms/ios/Pods/StarscreamSocketIO/Source/WebSocket.swift:668:37: warning: 'characters' is deprecated: Please use String or Substring directly
if headerSecKey.characters.count > 0 {
^
/Users/angelo/Projects/Round2Ipad/platforms/ios/Pods/Toaster/Sources/ToastCenter.swift:36:19: warning: static declarations are implicitly 'final'; use 'public' instead of 'open'
open static let `default` = ToastCenter()
~~~~ ^
public
/Users/angelo/Projects/Round2Ipad/platforms/ios/Pods/Toaster/Sources/ToastWindow.swift:24:19: warning: static declarations are implicitly 'final'; use 'public' instead of 'open'
open static let shared = ToastWindow(frame: UIScreen.main.bounds)
~~~~ ^
public
/Users/angelo/Projects/Round2Ipad/platforms/ios/Pods/Toaster/Sources/ToastCenter.swift:36:19: warning: static declarations are implicitly 'final'; use 'public' instead of 'open'
open static let `default` = ToastCenter()
~~~~ ^
public
/Users/angelo/Projects/Round2Ipad/platforms/ios/Pods/Toaster/Sources/ToastWindow.swift:24:19: warning: static declarations are implicitly 'final'; use 'public' instead of 'open'
open static let shared = ToastWindow(frame: UIScreen.main.bounds)
~~~~ ^
public
/Users/angelo/Projects/Round2Ipad/platforms/ios/Pods/Toaster/Sources/ToastWindow.swift:24:19: warning: static declarations are implicitly 'final'; use 'public' instead of 'open'
open static let shared = ToastWindow(frame: UIScreen.main.bounds)
~~~~ ^
public
/Users/angelo/Projects/Round2Ipad/platforms/ios/Pods/Toaster/Sources/ToastCenter.swift:36:19: warning: static declarations are implicitly 'final'; use 'public' instead of 'open'
open static let `default` = ToastCenter()
~~~~ ^
public
/Users/angelo/Projects/Round2Ipad/platforms/ios/Pods/Socket.IO-Client-Swift/Source/SocketIO/Util/SocketClientManager.swift:50:21: warning: static declarations are implicitly 'final'; use 'public' instead of 'open'
open static let sharedManager = SocketClientManager()
~~~~ ^
public
/Users/angelo/Projects/Round2Ipad/platforms/ios/Pods/Socket.IO-Client-Swift/Source/SocketIO/Engine/SocketEngine.swift:520:27: warning: 'init' is deprecated: Please use String or Substring directly
handleMessage(String(message.characters.dropFirst()))
^
/Users/angelo/Projects/Round2Ipad/platforms/ios/Pods/Socket.IO-Client-Swift/Source/SocketIO/Engine/SocketEngine.swift:520:42: warning: 'characters' is deprecated: Please use String or Substring directly
handleMessage(String(message.characters.dropFirst()))
^
/Users/angelo/Projects/Round2Ipad/platforms/ios/Pods/Socket.IO-Client-Swift/Source/SocketIO/Engine/SocketEngine.swift:526:34: warning: 'init' is deprecated: Please use String or Substring directly
handleOpen(openData: String(message.characters.dropFirst()))
^
/Users/angelo/Projects/Round2Ipad/platforms/ios/Pods/Socket.IO-Client-Swift/Source/SocketIO/Engine/SocketEngine.swift:526:49: warning: 'characters' is deprecated: Please use String or Substring directly
handleOpen(openData: String(message.characters.dropFirst()))
^
/Users/angelo/Projects/Round2Ipad/platforms/ios/Pods/Socket.IO-Client-Swift/Source/SocketIO/Util/SocketClientManager.swift:50:21: warning: static declarations are implicitly 'final'; use 'public' instead of 'open'
open static let sharedManager = SocketClientManager()
~~~~ ^
public
/Users/angelo/Projects/Round2Ipad/platforms/ios/Pods/Socket.IO-Client-Swift/Source/SocketIO/Engine/SocketEngine.swift:520:27: warning: 'init' is deprecated: Please use String or Substring directly
handleMessage(String(message.characters.dropFirst()))
^
/Users/angelo/Projects/Round2Ipad/platforms/ios/Pods/Socket.IO-Client-Swift/Source/SocketIO/Engine/SocketEngine.swift:520:42: warning: 'characters' is deprecated: Please use String or Substring directly
handleMessage(String(message.characters.dropFirst()))
^
/Users/angelo/Projects/Round2Ipad/platforms/ios/Pods/Socket.IO-Client-Swift/Source/SocketIO/Engine/SocketEngine.swift:526:34: warning: 'init' is deprecated: Please use String or Substring directly
handleOpen(openData: String(message.characters.dropFirst()))
^
/Users/angelo/Projects/Round2Ipad/platforms/ios/Pods/Socket.IO-Client-Swift/Source/SocketIO/Engine/SocketEngine.swift:526:49: warning: 'characters' is deprecated: Please use String or Substring directly
handleOpen(openData: String(message.characters.dropFirst()))
^
/Users/angelo/Projects/Round2Ipad/platforms/ios/Pods/Socket.IO-Client-Swift/Source/SocketIO/Engine/SocketEnginePollable.swift:188:19: warning: 'characters' is deprecated: Please use String or Substring directly
guard str.characters.count != 1 else { return }
^
/Users/angelo/Projects/Round2Ipad/platforms/ios/Pods/Socket.IO-Client-Swift/Source/SocketIO/Parse/SocketParsable.swift:116:25: warning: 'init' is deprecated
var dataArray = String(message.utf16[message.utf16.index(reader.currentIndex, offsetBy: 1)..<message.utf16.endIndex])!
^
/Users/angelo/Projects/Round2Ipad/platforms/ios/Pods/Socket.IO-Client-Swift/Source/SocketIO/Util/SocketStringReader.swift:49:26: warning: 'init' is deprecated
let readString = String(message.utf16[currentIndex..<message.utf16.index(currentIndex, offsetBy: count)])!
^
/Users/angelo/Projects/Round2Ipad/platforms/ios/Pods/Socket.IO-Client-Swift/Source/SocketIO/Util/SocketStringReader.swift:62:20: warning: 'init' is deprecated
return String(substring)!
^
/Users/angelo/Projects/Round2Ipad/platforms/ios/Pods/Socket.IO-Client-Swift/Source/SocketIO/Util/SocketStringReader.swift:67:16: warning: 'init' is deprecated
return String(substring[substring.startIndex..<foundIndex])!
^
/Users/angelo/Projects/Round2Ipad/platforms/ios/Pods/Socket.IO-Client-Swift/Source/SocketIO/Parse/SocketParsable.swift:116:25: warning: 'init' is deprecated
var dataArray = String(message.utf16[message.utf16.index(reader.currentIndex, offsetBy: 1)..<message.utf16.endIndex])!
^
/Users/angelo/Projects/Round2Ipad/platforms/ios/Pods/Socket.IO-Client-Swift/Source/SocketIO/Util/SocketStringReader.swift:49:26: warning: 'init' is deprecated
let readString = String(message.utf16[currentIndex..<message.utf16.index(currentIndex, offsetBy: count)])!
^
/Users/angelo/Projects/Round2Ipad/platforms/ios/Pods/Socket.IO-Client-Swift/Source/SocketIO/Util/SocketStringReader.swift:62:20: warning: 'init' is deprecated
return String(substring)!
^
/Users/angelo/Projects/Round2Ipad/platforms/ios/Pods/Socket.IO-Client-Swift/Source/SocketIO/Util/SocketStringReader.swift:67:16: warning: 'init' is deprecated
return String(substring[substring.startIndex..<foundIndex])!
^
ld: warning: directory not found for option '-F/Users/angelo/Library/Developer/Xcode/DerivedData/Round2Ipad-fescrckfcoubabgtpgtxoybjlgrj/Build/Intermediates.noindex/ArchiveIntermediates/Round2Ipad/BuildProductsPath/Debug-iphoneos/StarscreamSocketIO'
ld: warning: directory not found for option '-F/Users/angelo/Library/Developer/Xcode/DerivedData/Round2Ipad-fescrckfcoubabgtpgtxoybjlgrj/Build/Intermediates.noindex/ArchiveIntermediates/Round2Ipad/BuildProductsPath/Debug-iphoneos/Socket.IO-Client-Swift'
ld: warning: directory not found for option '-F/Users/angelo/Library/Developer/Xcode/DerivedData/Round2Ipad-fescrckfcoubabgtpgtxoybjlgrj/Build/Intermediates.noindex/ArchiveIntermediates/Round2Ipad/BuildProductsPath/Debug-iphoneos/StarscreamSocketIO'
ld: warning: directory not found for option '-F/Users/angelo/Library/Developer/Xcode/DerivedData/Round2Ipad-fescrckfcoubabgtpgtxoybjlgrj/Build/Intermediates.noindex/ArchiveIntermediates/Round2Ipad/BuildProductsPath/Debug-iphoneos/Toaster'
warning: /Users/nsbuilduser/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/NYRHVEZZLW1G/UIKit-2LM3EQU7VVY4O.pcm: No such file or directory
note: while processing /Users/nsbuilduser/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/NYRHVEZZLW1G/UIKit-2LM3EQU7VVY4O.pcm
note: Linking a static library that was built with -gmodules, but the module cache was not found. Redistributable static libraries should never be built with module debugging enabled. The debug experience will be degraded due to incomplete debug information.
warning: /Users/nsbuilduser/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/NYRHVEZZLW1G/Darwin-MI6WZSG1PNOM.pcm: No such file or directory
note: while processing /Users/nsbuilduser/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/NYRHVEZZLW1G/Darwin-MI6WZSG1PNOM.pcm
warning: /Users/nsbuilduser/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/NYRHVEZZLW1G/Foundation-A3SOD99KJ0S9.pcm: No such file or directory
note: while processing /Users/nsbuilduser/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/NYRHVEZZLW1G/Foundation-A3SOD99KJ0S9.pcm
warning: /Users/nsbuilduser/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/NYRHVEZZLW1G/Dispatch-12O7S7HHQXK9N.pcm: No such file or directory
note: while processing /Users/nsbuilduser/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/NYRHVEZZLW1G/Dispatch-12O7S7HHQXK9N.pcm
warning: /Users/nsbuilduser/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/NYRHVEZZLW1G/ObjectiveC-1KD62J152BYGO.pcm: No such file or directory
note: while processing /Users/nsbuilduser/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/NYRHVEZZLW1G/ObjectiveC-1KD62J152BYGO.pcm
note: Using new build systemnote: Planning buildnote: Constructing build description
Xcode build...
2018-10-27 10:30:46.057 xcodebuild[9489:346057] [MT] IDEDistribution: -[IDEDistributionLogging _createLoggingBundleAtPath:]: Created bundle at path '/var/folders/gv/7gbbw2k12y59d9ycjy4pydkw0000gn/T/Round2Ipad_2018-10-27_10-30-46.055.xcdistributionlogs'.
2018-10-27 10:30:46.989 xcodebuild[9489:346057] [MT] IDEDistribution: Failed to generate distribution items with error: Error Domain=IDEFoundationErrorDomain Code=1 "/Users/angelo/Projects/Round2Ipad/platforms/ios/build/archive/Round2Ipad.xcarchive/Products contains invalid products." UserInfo={NSLocalizedDescription=/Users/angelo/Projects/Round2Ipad/platforms/ios/build/archive/Round2Ipad.xcarchive/Products contains invalid products., NSLocalizedRecoverySuggestion=Multiple binaries share the same codesign path:
/Applications/Round2Ipad.app/app/tns_modules/electron/dist/Electron.app/Contents/Frameworks/Electron Framework.framework/Versions/Current
Binaries:
/Applications/Round2Ipad.app/app/tns_modules/electron/dist/Electron.app/Contents/Frameworks/Electron Framework.framework/Electron Framework
/Applications/Round2Ipad.app/app/tns_modules/electron/dist/Electron.app/Contents/Frameworks/Electron Framework.framework/Versions/Current/Electron Framework
This can happen if your build process copies frameworks by following symlinks. }
error: exportArchive: /Users/angelo/Projects/Round2Ipad/platforms/ios/build/archive/Round2Ipad.xcarchive/Products contains invalid products.
Error Domain=IDEFoundationErrorDomain Code=1 "/Users/angelo/Projects/Round2Ipad/platforms/ios/build/archive/Round2Ipad.xcarchive/Products contains invalid products." UserInfo={NSLocalizedDescription=/Users/angelo/Projects/Round2Ipad/platforms/ios/build/archive/Round2Ipad.xcarchive/Products contains invalid products., NSLocalizedRecoverySuggestion=Multiple binaries share the same codesign path:
/Applications/Round2Ipad.app/app/tns_modules/electron/dist/Electron.app/Contents/Frameworks/Electron Framework.framework/Versions/Current
Binaries:
/Applications/Round2Ipad.app/app/tns_modules/electron/dist/Electron.app/Contents/Frameworks/Electron Framework.framework/Electron Framework
/Applications/Round2Ipad.app/app/tns_modules/electron/dist/Electron.app/Contents/Frameworks/Electron Framework.framework/Versions/Current/Electron Framework
This can happen if your build process copies frameworks by following symlinks. }
** EXPORT FAILED **
Unable to apply changes on device: de61c1f08dafc17872e9820e0f6990bd2871f0df. Error is: Command xcodebuild failed with exit code 70.
Executing after-watch hook from /Users/angelo/Projects/Round2Ipad/hooks/after-watch/nativescript-dev-webpack.js
Stopping webpack watch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment