You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello. I am working on a react native library that depends on an unpublished fork of a cocoapod. I didn't want to require users to modify their podfile and podspec doesn't support specifying the source for a pod, so I decided to accomplish this by cloning the fork into my repo, adding the dependencies from the external libraries podspec into my libraries podspec, appending the public_header_files/private_header_files/resource_bundle properties in my podspec, and adding the headers to my HEADER_SEARCH_PATHS under pod_target_xconfig. This is what I tried for the HEADER_SEARCH_PATHS thing
this is the approach I typically take for this kind of thing, but I have not tried doing this with a react native library before. The problem I'm encountering is when I'm working in the example app, my pod is not at (pods_root)/(pod name). It appears to be in Target Support Files in this case. How can I resolve this?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello. I am working on a react native library that depends on an unpublished fork of a cocoapod. I didn't want to require users to modify their podfile and podspec doesn't support specifying the source for a pod, so I decided to accomplish this by cloning the fork into my repo, adding the dependencies from the external libraries podspec into my libraries podspec, appending the
public_header_files
/private_header_files
/resource_bundle
properties in my podspec, and adding the headers to myHEADER_SEARCH_PATHS
underpod_target_xconfig
. This is what I tried for theHEADER_SEARCH_PATHS
thingthis is the approach I typically take for this kind of thing, but I have not tried doing this with a react native library before. The problem I'm encountering is when I'm working in the example app, my pod is not at (pods_root)/(pod name). It appears to be in
Target Support Files
in this case. How can I resolve this?Beta Was this translation helpful? Give feedback.
All reactions