Skip to content
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

Duplicated in my app extension. #4

Closed
Neilfau opened this issue Jan 15, 2021 · 3 comments
Closed

Duplicated in my app extension. #4

Neilfau opened this issue Jan 15, 2021 · 3 comments

Comments

@Neilfau
Copy link

Neilfau commented Jan 15, 2021

Hi... ive being using the this package in my app and its all been working great. I recently added a widget extension which has no dependencies at all but for some reason this package is being added to the extension and the main app. When I try to upload to the App Store I get the error:

Screenshot 2021-01-15 at 14 41 11

Any ideas what is causing this and how I can fix it??

@Neilfau
Copy link
Author

Neilfau commented Jan 15, 2021

I found the solution it was adding a post action build script:

rm -rf "${TARGET_BUILD_DIR}/${PRODUCT_NAME}.app/PlugIns/GoogleMaps.framework"
rm -rf "${TARGET_BUILD_DIR}/${PRODUCT_NAME}.app/PlugIns/GoogleMapsBase.framework"
rm -rf "${TARGET_BUILD_DIR}/${PRODUCT_NAME}.app/PlugIns/GoogleMapsCore.framework"
rm -rf "${TARGET_BUILD_DIR}/${PRODUCT_NAME}.app/Frameworks/GoogleMaps.framework"
rm -rf "${TARGET_BUILD_DIR}/${PRODUCT_NAME}.app/Frameworks/GoogleMapsBase.framework"
rm -rf "${TARGET_BUILD_DIR}/${PRODUCT_NAME}.app/Frameworks/GoogleMapsCore.framework"

@Neilfau Neilfau closed this as completed Jan 15, 2021
@karimhm
Copy link
Contributor

karimhm commented Jan 15, 2021

This happen due to this bug SR-13840.

@karimhm karimhm pinned this issue Feb 24, 2021
@CollinAlpert
Copy link

As of Xcode 12.5 this issue is also fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants