工程配置

环境准备

Xcode 10.0

iPhone 手机系统10.0以上版本

创建应用

  • iOS SDK下载

  • iOS Demo下载

  • SDK将以framework的方式提供出来,将包里的HeMuSDK.framework SDKResource.bundle,AndMuResource.bundle,AndMuOpenSDK.framework拖入你的工程当中

  • 在 buld phases -> Link Binary With Libraries 当中添加上依赖的库

  • 在Build settings 当中,找到 enbale bitcode 设置为NO

  • 在Build setting 中 找到 Apple Clang - Language - Modules 配置 图中参数为 Yes

  • 在Build Settings -> other link flags 中添加以下值

  • 在测试环境需要更改配置项 app transport security settings

  • 在Build Phases 中创建Embed Frameworks 添加ONTPlayer.framework