Skip to content

Commit cc59992

Browse files
committed
align iOS package with cmake-rn's approach
1 parent fc42445 commit cc59992

8 files changed

Lines changed: 6077 additions & 1136 deletions

File tree

‎CMakeLists.txt‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,12 @@ if(TARGET_PLATFORM_MACOS)
143143

144144
set(METADATA_FILE "metadata.macos.nsmd")
145145
elseif(TARGET_PLATFORM_IOS)
146+
# Convert the Info.plist from binary format to XML format.
147+
# This seemed to unblock a build error when using in React Native.
148+
add_custom_command(TARGET ${NAME} POST_BUILD
149+
COMMAND plutil -convert xml1 $<TARGET_FILE_DIR:${NAME}>/Info.plist
150+
)
151+
146152
set(METADATA_FILE "metadata.ios.nsmd")
147153
endif()
148154

0 commit comments

Comments
 (0)