文字识别

    FAQ

    1. 报错 App identifier unmatch. 错误的BundleId或PackageName,如何解决?

    请在官网应用信息中绑定包名,具体步骤可参考本文档的图文教程。

    2. 直接运行无问题,但Archive/IPA/Upload AppStore 时报错"Unsupported Architecture. Your executable contains unsupported architecture '[x86_64, i386]..."

    为了方便开发者调试,AipBase.framework合并了模拟器和真机架构,上线前,使用lipo工具移除相关架构即可,参考:

    cd lib
    # 使用lipo -info 可以查看包含的架构
    lipo -info AipBase.framework/AipBase  # Architectures in the fat file: AipBase are: i386 x86_64 armv7 armv7s arm64
    # 移除x86_64, i386
    lipo -remove x86_64 AipBase.framework/AipBase -o AipBase.framework/AipBase
    lipo -remove i386 AipBase.framework/AipBase -o AipBase.framework/AipBase
    lipo -remove x86_64 AipOcrSdk.framework/AipOcrSdk -o AipOcrSdk.framework/AipOcrSdk
    lipo -remove i386 AipOcrSdk.framework/AipOcrSdk -o AipOcrSdk.framework/AipOcrSdk
    # 再次查看
    lipo -info AipBase.framework/AipBase # Architectures in the fat file: AipBase are: armv7 armv7s arm64
    上一篇
    错误码表
    下一篇
    iOCR自定义模板文字识别