Swift Version NativeScript

前端 未结 5 789
醉梦人生
醉梦人生 2020-12-30 16:27

Using NativeScript how can I run a project under iOS? I get these messages when I run tns run iOS --bundle

Webpack compilation complete. Watchin         


        
5条回答
  •  庸人自扰
    2020-12-30 16:54

    I have it fixed with @K Brown's answer.

    Was having these errors when running tns run ios --bundle for Socket.IO-Client-Swift, StarscreamSocketIO and Toaster when both v1.6.0 and v1.5.3 of Cocoapods installed:

    - `` does not specify a Swift version and none of the targets 
    (``) 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. 
    

    Below are the commands used:

    sudo gem uninstall cocoapods

    sudo gem install cocoapods -v 1.5.3

    rm -Rf platforms

    tns install

    tns run ios --bundle

提交回复
热议问题