alongubkin / alongubkin/phonertc

Linker Error when building on iOS

Đang mở
#140 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Objective-C
Star
864
Fork
298
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

I found many questions with this issue on StackOverflow but none of them addressed the issue I am having.

So, for building PhoneRTC on iOS, I followed the given steps:

3) In General, change Deployment Target to 7.0 or above

4) 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

On step 'd', there are many files in the given directory with Bridging header.h. I had given the path as told in the step but when I compile it gives the following error.

![xcode1](https://cloud.githubusercontent.com/assets/5811482/6515585/e42339fe-c3ac-11e4-9668-2c276e4593f3.png)

If we look carefully, we can see that '/'s are removed in the address. I don't understand how they are removed when I gave the correct address for bridging header.

It should take the correct address which is :

/../platforms/ios/HelloCordova/Plugins/com.dooble.phonertc/...

but it takes

/../platforms/ios/HelloCordovaPluginscom.dooble.phonertc...

I also tried to change the location to absolute location for bridging header. Look at the following image:

![xcode2](https://cloud.githubusercontent.com/assets/5811482/6515598/fe499e5e-c3ac-11e4-81e6-66b6ae53b9d6.png)

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.