alongubkin / alongubkin/phonertc

Compiling issue on ipad 4 retina

未关闭
#189 4 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Objective-C
星标
864
派生
298
PR 合并指标
30 天内没有已合并 PR

描述

Hello there,
got the following error when compiling for iOS 9.2 with `ionic run`, after the `cordova plugin add `.

The error we got:

```
The following build commands failed:
CompileSwift normal arm64 [home_path]/phonertc-master/demo/client/platforms/ios/Client/Plugins/com.dooble.phonertc/PhoneRTCPlugin.swift
CompileSwift normal arm64 [home_path]/phonertc-master/demo/client/platforms/ios/Client/Plugins/com.dooble.phonertc/PCObserver.swift
CompileSwift normal arm64 [home_path]/phonertc-master/demo/client/platforms/ios/Client/Plugins/com.dooble.phonertc/Session.swift
CompileSwift normal arm64 [home_path]/phonertc-master/demo/client/platforms/ios/Client/Plugins/com.dooble.phonertc/SessionDescriptionDelegate.swift
CompileSwiftSources normal arm64 com.apple.xcode.tools.swift.compiler
(5 failures)

```

After modifying the xcode project as shown in your guide:

> For iOS, follow these steps:
>
> Go platforms/ios and click on [ProjectName].xcodeproj to open it with XCode
> Go to your project settings
> In General, change Deployment Target to 7.0 or above
> Go to Build Settings and change:
>
> a. Valid Architectures => armv7
>
> b. Build Active Architecture Only => No
>
> c. Runpath Search Paths => $(inherited) @executable_path/Frameworks
>
> d. Objective-C Bridging Header => [ProjectName]/Plugins/com.dooble.phonertc/Bridging-Header.h
>
> e. Embedded content contains Swift Code => yes
>
> Repeat steps 4a. - 4c. for the CordovaLib project

We got the following by running `ionic run`:
`[home_path]/phonertc-master/demo/client/platforms/ios/Client/Plugins/com.dooble.phonertc/PhoneRTCPlugin.swift:18:14: Initializer does not override a designated initializer from its superclass`

We are trying it on ipad retina 4 md510ty. Are there any issues?

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。