Alcinoe icon indicating copy to clipboard operation
Alcinoe copied to clipboard

10.3.3: can't deploy ALLiveVideoChatClient with files

Open kazuser opened this issue 4 years ago • 7 comments

Hi!

### My setup is: изображение

изображение

изображение

0


### My problem is: I can't deploy ALLiveVideoChatClient for iOS with files Info.plist and WebRTC:

0

изображение

But if files are deleted from project then deploy is ok but app is empty (black screen only) :(

1

kazuser avatar Apr 09 '20 12:04 kazuser

hi kazuser, i will make a clear doc about webrtc soon in the meantime, did you follow the readme.txt located in Alcinoe\lib\ios\webrtc :

The framework must be signed with the same team identifier in the main executable code signature. The team identifier is the 10-character alphanumeric string, such as YH9SZ5LKR4, associated with your developer account, and recorded in your Apple-issued signing certificate.

You must do this manually still embarcadero implement it https://quality.embarcadero.com/browse/RSP-22899

codesign -s <Identity> /YourPathto/WebRTC.framework/WebRTC

After you need to deploy yourself the WebRTC.framework in the .\Frameworks\WebRTC.framework file to deploy: Info.plist LICENSE.md WebRTC _CodeSignature\CodeResources

Stripping Unwanted Architectures From WebRTC http://ikennd.ac/blog/2015/02/stripping-unwanted-architectures-from-dynamic-libraries-in-xcode/

lipo -info /YourPathto/WebRTC.framework/WebRTC lipo -remove i386 /YourPathto/WebRTC.framework/WebRTC -o /YourPathto/WebRTC.framework/WebRTC lipo -remove x86_64 /YourPathto/WebRTC.framework/WebRTC -o /YourPathto/WebRTC.framework/WebRTC lipo -info /YourPathto/WebRTC.framework/WebRTC

Zeus64 avatar Apr 09 '20 15:04 Zeus64

Yep, of course. Step by step.

Here is another: when I changing (in Project > Deployment > Remote Path)

.\Frameworks\WebRTC.framework

to

.\

— no any "e80000c5", app deploys successfully but it's still empty (black screen) 🤔

kazuser avatar Apr 09 '20 16:04 kazuser

And here is my version of WebRTC-file after "codesign":

изображение

kazuser avatar Apr 09 '20 16:04 kazuser

With updated (and signed before deploy) version GoogleWebRTC-1.1.29400 the same :(

kazuser avatar Apr 09 '20 16:04 kazuser

Could you please test/confirm this?

1 Create a brand new FMX-project 2 Select "iOS Device 64-bit" and fill "CFBundleIdentifier" 3 Create a new text-file somewhere 4 Open Project > Deployment and attach that text-file 5 Set ".\Frameworks\WebRTC.framework" in Project > Deployment > text-file > Remote Path 6 Deploy

kazuser avatar Apr 09 '20 17:04 kazuser

изображение

изображение

What do you think about it?

kazuser avatar Apr 09 '20 17:04 kazuser

Was in GIF above: изображение

Became in last picture below: изображение

Yeah I see the difference but anyway the error still present :/

kazuser avatar Apr 09 '20 17:04 kazuser