【问题标题】:ionic native geofence iOS Compile error离子原生地理围栏iOS编译错误
【发布时间】:2017-11-30 21:13:30
【问题描述】:

请帮我解决这个错误:

ionic Native + geofance + iOS

ios compile error after install geofence plugin.

================== Compile error is ===============

The following build commands failed:
    CompileSwift normal x86_64 /Volumes/TimeMachine/AtoZ_Projects/Mobile_Apps/InstaPlace/InstaPlace/platforms/ios/InstaPlace/Plugins/cordova-plugin-geofence/GeofencePlugin.swift
    CompileSwift normal x86_64 /Volumes/TimeMachine/AtoZ_Projects/Mobile_Apps/InstaPlace/InstaPlace/platforms/ios/InstaPlace/Plugins/cordova-plugin-geofence/SwiftData.swift
    CompileSwift normal x86_64 /Volumes/TimeMachine/AtoZ_Projects/Mobile_Apps/InstaPlace/InstaPlace/platforms/ios/InstaPlace/Plugins/cordova-plugin-geofence/SwiftyJson.swift
    CompileSwiftSources normal x86_64 com.apple.xcode.tools.swift.compiler
(4 failures)
Error: Error code 65 for command: xcodebuild with args: -xcconfig,/Volumes/TimeMachine/AtoZ_Projects/Mobile_Apps/InstaPlace/InstaPlace/platforms/ios/cordova/build-debug.xcconfig,-workspace,InstaPlace.xcworkspace,-scheme,InstaPlace,-configuration,Debug,-sdk,iphonesimulator,-destination,platform=iOS Simulator,name=iPhone SE,build,CONFIGURATION_BUILD_DIR=/Volumes/TimeMachine/AtoZ_Projects/Mobile_Apps/InstaPlace/InstaPlace/platforms/ios/build/emulator,SHARED_PRECOMPS_DIR=/Volumes/TimeMachine/AtoZ_Projects/Mobile_Apps/InstaPlace/InstaPlace/platforms/ios/build/sharedpch

[ERROR] An error occurred while running cordova build ios (exit code 1).

==========================

谢谢。

【问题讨论】:

    标签: ionic-framework ionic2 ionic3 ionic-native


    【解决方案1】:

    按照这些步骤我成功了。

    1 - 卸载地理围栏插件。

    2 - 卸载平台iOS

    3 - 安装地理围栏插件。

    4 - 替换这3个文件geofence plugin files

    5 - 安装平台 iOS。

    6 - 构建成功。

    谢谢。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2018-09-07
      • 2018-08-25
      • 1970-01-01
      • 2012-09-25
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多