Alcinoe
Alcinoe copied to clipboard
10.3.3: can't deploy ALLiveVideoChatClient with files
Hi!
### My setup is:
### My problem is: I can't deploy ALLiveVideoChatClient for iOS with files Info.plist and WebRTC:
But if files are deleted from project then deploy is ok but app is empty (black screen only) :(
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
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) 🤔
And here is my version of WebRTC-file after "codesign":
With updated (and signed before deploy) version GoogleWebRTC-1.1.29400 the same :(
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
What do you think about it?
Yeah I see the difference but anyway the error still present :/