-
-
Notifications
You must be signed in to change notification settings - Fork 57
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Frameworks with symlinks inside are not uploaded correctly [zlib] [common-crypto] #106
Comments
@c0diq Thanks for reporting. Can you paste the relevant part of your Romefile ? |
Romefile
Cartfile
Cartfile.resolved
Starscream dependencies include these two projects which don't have frameworks but are packaged with spm. When trying to import Starscream, I would get the following error:
which both are defined in Starscream modulemap. I am not sure how these two dependencies get linked into Starscream but it appears that when I build manually Starscream with Carthage, the error goes away. If I use Rome to populate Carthage/Build/Mac, the error reappears. The issue was reported at socketio/socket.io-client-swift#798 but the solution is not possible when using pre-built binaries. |
@c0diq Unfortunately this is not a bug.
If you look closely to the output of I have the same issue with If you can't work around this, no matter what you do, Starscream can't be packaged as a binary dependency. As a desperate attempt you can try to edit Versions/Current/Modules/module.modulemap after downloading the Starscream binary and patch it like so:
Also you have to make sure that the header file |
@c0diq is this answer satisfactory for you? I'd like to close the issue if you don't mind. |
Your fix made it work. What I don't understand is why Carthage (Xcode) doesn't set the modulemap like you suggest. |
Yes this is a big problem and you're not alone. I am sorry but I can't assist you further as I am also affected by the same issue. If you find a solution please let me know :( |
I'd like to reopen this because I think there's still an issue. The framework that Rome packages and uploads to cache is not what Carthage built when it contains symlinks. If you run |
Ooh it appears to be a known issue #112! Great. |
@c0diq #112 is closed now. Please let me know if you find any issues with https://github.com/blender/Rome/releases/tag/v0.14.0.38 |
Hi Blender, sorry it's still me. I'm on 0.17.2.50 and still get problem with Starscream. Here is my Romefile :
Once I upload then download I got this :
|
@Max0u Starscream is not relocatable. See #106 (comment) |
Issue
Upload fails for certain types of frameworks where the binary inside the framework is a symlink to a version inside the framework.
For example, Starscream for Mac (https://github.com/daltoniam/Starscream). Here's a screenshot:
http://cloud.plutinosoft.com/oKcN
Steps which explain the enhancement
Current and suggested behavior
The Starscream.framework is not published in the local folder.
Rome version: 0.13.0.33
OS and version: ('Darwin', 'Darwin Kernel Version 16.7.0: Thu Jun 15 17:36:27 PDT 2017; root:xnu-3789.70.16~2/RELEASE_X86_64', 'x86_64')
The text was updated successfully, but these errors were encountered: