zoukankan      html  css  js  c++  java
  • ionic iphone下的问题

    1. nsunknownkeyexception

        Terminating app due to uncaught exception 'NSUnknownKeyException', reason: '[<UIApplication 0x14e7b130> setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key view.

      解决方法:Main Interface  设置为空。 

      好几个错误和Deployment Info 里面的设置有关

      Device Orientation 选项,Requires full screen 这几个选项可以重新选择试试。

          http://stackoverflow.com/questions/8232766/terminating-app-due-to-uncaught-exception-nsunknownkeyexception

     2: ionic 在xcode下面编译时,需要在search Paths 中的header Serarch Paths 中增加下面路径:

      "$(OBJROOT)/UninstalledProducts/$(PLATFORM_NAME)/include"

     3.swift 如果版本比较早,不支持swift。就在搜索里面,查找swift ,然后把所有都置为no。编译和上传appstore都会遇到这个问题。

        或者也可能需要在命令行状态下执行:ionic build ios 

       重新编译一下。

  • 相关阅读:
    为什么叫做重叠端口?
    为什么叫做重叠端口?
    拷贝构造函数的参数为什么必须使用引用类型
    拷贝构造函数的参数为什么必须使用引用类型
    2018 网易校招题目
    似友非友?
    贫穷与富有
    (OK) Android
    Android
    (OK) Android
  • 原文地址:https://www.cnblogs.com/brantshi/p/6672670.html
Copyright © 2011-2022 走看看