alongubkin / alongubkin/phonertc

Compiling issue on ipad 4 retina

Offen
#189 4 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Objective-C
Sterne
864
Forks
298
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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?

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.