2016-09-14 2 views
3

Ich habe Probleme stecken einen Build in IOS machen, wenn ich einen Build in android zeigen keine problema.No keinen Fehler zeigt nur mit der folgenden Meldung aufgehängt wird:Ionic ios bauen ist

ionic build ios 
Running command: /Users/kaos/Documents/Proyectos/Ionic/voxMonitor/hooks/after_prepare/010_add_platform_class.js /Users/kaos/Documents/Proyectos/Ionic/voxMonitor 


add to body class: platform-ios 

Building project: /Users/kaos/Documents/Proyectos/Ionic/voxMonitor/platforms/ios/voxMonitor.xcodeproj 

    Configuration: Debug 
    Platform: emulator 


2016-09-14 00:57:11.666 xcodebuild[81377:2780361] [MT] PluginLoading: Required plug-in compatibility UUID 8A66E736-A720-4B3C-92F1-33D9962C69DF for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/XcodeColors.xcplugin' not present in DVTPlugInCompatibilityUUIDs 

2016-09-14 00:57:11.668 xcodebuild[81377:2780361] [MT] PluginLoading: Required plug-in compatibility UUID 8A66E736-A720-4B3C-92F1-33D9962C69DF for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/OMQuickHelp.xcplugin' not present in DVTPlugInCompatibilityUUIDs 

2016-09-14 00:57:11.669 xcodebuild[81377:2780361] [MT] PluginLoading: Required plug-in compatibility UUID 8A66E736-A720-4B3C-92F1-33D9962C69DF for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/Alcatraz.xcplugin' not present in DVTPlugInCompatibilityUUIDs 

Build settings from command line: 

    CONFIGURATION_BUILD_DIR = /Users/kaos/Documents/Proyectos/Ionic/voxMonitor/platforms/ios/build/emulator 
    SDKROOT = iphonesimulator10.0 
    SHARED_PRECOMPS_DIR = /Users/kaos/Documents/Proyectos/Ionic/voxMonitor/platforms/ios/build/sharedpch 

Build settings from configuration file '/Users/kaos/Documents/Proyectos/Ionic/voxMonitor/platforms/ios/cordova/build-debug.xcconfig': 
    CLANG_ALLOW_NON_MODULAR_INCLUDES_IN_FRAMEWORK_MODULES = YES 
    CODE_SIGN_IDENTITY = iPhone Developer 
    ENABLE_BITCODE = NO 
    GCC_PREPROCESSOR_DEFINITIONS = DEBUG=1 
    HEADER_SEARCH_PATHS = "$(TARGET_BUILD_DIR)/usr/local/lib/include" "$(OBJROOT)/UninstalledProducts/include" "$(OBJROOT)/UninstalledProducts/$(PLATFORM_NAME)/include" "$(BUILT_PRODUCTS_DIR)" 
    IPHONEOS_DEPLOYMENT_TARGET = 8.0 
    OTHER_LDFLAGS = -ObjC 
    SWIFT_OBJC_BRIDGING_HEADER = $(PROJECT_DIR)/$(PROJECT_NAME)/Bridging-Header.h 
    TARGETED_DEVICE_FAMILY = 1,2 

, wenn ich versuche die Datei xcodeproj zu öffnen, xcode startet nicht und wartet unendlich bis zum force exit.

Meine ionische Info:

Your system information: 

    Cordova CLI: 6.3.1 
    Ionic Framework Version: 1.3.1 
    Ionic CLI Version: 2.0.0-beta.37 
    Ionic App Lib Version: 2.0.0-beta.20 
    ios-deploy version: 1.8.6 
    ios-sim version: 5.0.8 
    OS: Mac OS X El Capitan 
    Node Version: v6.5.0 
    Xcode version: Xcode 8.0 Build version 8A218a 

erwähnenswert, dass ich zur Zeit MacOS Sierra GM und Xcode 8 gm verwenden.

Edit: beim Erstellen eines neuen Projekts und ersetzen Sie das www-Verzeichnis mit der Version in meinem Projekt, ich kann IOS erstellen, aber sobald Sie eine Datei nicht mehr kompilieren kann ich ändern, auf dem Bildschirm oben hängen.

+0

Ich bekomme das! Hast du es jemals gelöst? – keldar

+0

Momentan stecken auch bei diesem. –

+0

Beitrag zum Ionischen Forum https://forum.ionicframework.com/t/unable-to-build-ios-on-ionic-2/65911 –

Antwort

2

Der Ursprung des Problems liegt darin, dass sich der Projektordner im Dokumentenverzeichnis befindet, das wiederum mit iCloud synchronisiert wird. Wenn Sie das Projekt in ein anderes Verzeichnis verschieben, das keine Dokumente oder Desktops ist, können Sie problemlos erstellen. In diesem Thread auf GitHub zeigt andere Benutzer, die es geschafft haben, es auf diese Weise zu beheben.

https://github.com/driftyco/ionic-cli/issues/1401#issuecomment-254989260

1

Gehen Sie folgendermaßen vor (Und bevor Sie die folgenden Schritte sicherstellen, dass Sie IOS SDK auf Ihrem System installiert haben)

  1. Haken entfernen mit dem Befehl $ionic hooks remove
  2. Remove Platform mit dem Befehl $ionic platform remove ios
  3. Jetzt hinzufügen Haken mit Befehl $ionic hooks add
  4. Jetzt Plattform mit Befehl hinzufügen $ionic platform ios
  5. Erstellen Sie nun mit dem Befehl $ionic build ios
  6. Jetzt Führen Sie Ihre Anwendung mit dem Befehl $ionic run ios

Ich bin sicher, dass diese Schritte, die Sie helfen bauen.

+0

Wenn ich das SDK habe, befolge die Schritte, aber es funktioniert nicht. –

Verwandte Themen