Skip to content

fix(iOS, fabric): support build without modual_headers! - #3116

Merged
mfazekas merged 1 commit into
mainfrom
mfazekas/add-defines-module
Oct 17, 2023
Merged

mfazekas merged 1 commit into
mainfrom
mfazekas/add-defines-module

Conversation

@mfazekas

@mfazekas mfazekas commented Oct 17, 2023 •

Copy link
Copy Markdown
Contributor

Add DEFINES_MODULE=YES to rnmapbox-maps target if new arch is enabled

RCT_NEW_ARCH_ENABLED=1 pod update MapboxMaps

image

mfazekas referenced this pull request Oct 17, 2023
* feat: migrate Camera to new arch

* fix: remove the need for modular headers

* feat: add all examples to fabricexample

* feat: change impl to use Dynamic everywhere

* fix: resolve eslint problems
@WoLewicki

Copy link
Copy Markdown
Contributor

I also removed the use_modular_headers method in the fabricexample app since it destroys other behaviors. Does your pod install success on new arch with this flag removed from Podfile?

@mfazekas
mfazekas force-pushed the mfazekas/add-defines-module branch from ee83157 to 1c518ec Compare October 17, 2023 18:00
@mfazekas
mfazekas force-pushed the mfazekas/add-defines-module branch from 1c518ec to c7ab387 Compare October 17, 2023 18:00
@mfazekas

mfazekas commented Oct 17, 2023 •

Copy link
Copy Markdown
Contributor Author

@WoLewicki I needed to remove some pod dependencies as well to get it work without use_modular_headers!

"React-Fabric", "React-graphics", "React-utils", "React-debug"

@mfazekas
mfazekas merged commit d36ccb7 into main Oct 17, 2023
@mfazekas
mfazekas deleted the mfazekas/add-defines-module branch October 17, 2023 18:45
@mfazekas mfazekas changed the title fix(ios): add defined module fix(iOS, fabric): support build without modual_headers! Oct 17, 2023
@WoLewicki

Copy link
Copy Markdown
Contributor

Ok, great job with it 🚀

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

Successfully merging this pull request may close these issues.

2 participants