Malaa-tech / expo-custom-assets

Expo plugin to add custom assets to native codebase
24 stars 3 forks source link

Only copies to ios/Assets, not copying into the .xcworkspace or .xcodeproj #6

Open doyeka opened 1 week ago

doyeka commented 1 week ago

I used this solution because I thought it would just work™ .

However, copying to ios/Assets doesn't add those files to the XCode project (either .xcworkspace or .xcodeproj).

Thus, the 'Copy Bundle Resources' phase of the build process fails.

Can you update the code base to copy to within the XCode project?

Screenshot 2024-06-24 at 1 04 32 PM

doyeka commented 1 week ago

Yeah, seems like using IOSConfig.XcodeUtils.addResourceFileToGroup is broken for now, via: https://github.com/expo/config-plugins/issues/239

Will just manually add "Assets" to my target for now.

Subscribed to the other issue, happy to implement the fix once it's known.

doyeka commented 1 week ago

Info about why it's broken here: https://github.com/expo/expo/issues/20091