emission
emission copied to clipboard
[Dev] Deployment doesn't work because of our custom RN source code changes
handled in our package.json:
"postinstall":
"sed -i '' 's/#import <RCTAnimation\\/RCTValueAnimatedNode.h>/#import \"RCTValueAnimatedNode.h\"/' ./node_modules/react-native/Libraries/NativeAnimation/RCTNativeAnimatedNodesManager.h && ./scripts/post_installs.sh || true",
causes on pod repo push
/var/folders/xh/sh5y6m0d0t75_qzr362llyvw0000gn/T/CocoaPods-Lint-20180129-43934-j1hist-Emission/Pods/React/Libraries/NativeAnimation/RCTNativeAnimatedModule.m -o /Users/orta/Library/Developer/Xcode/DerivedData/App-ftbkkrgoykfxgjdhnatblwkpawcn/Build/Intermediates.noindex/Pods.build/Release-iphonesimulator/React.build/Objects-normal/i386/RCTNativeAnimatedModule.o
In file included from /var/folders/xh/sh5y6m0d0t75_qzr362llyvw0000gn/T/CocoaPods-Lint-20180129-43934-j1hist-Emission/Pods/React/Libraries/NativeAnimation/RCTNativeAnimatedModule.m:11:
/var/folders/xh/sh5y6m0d0t75_qzr362llyvw0000gn/T/CocoaPods-Lint-20180129-43934-j1hist-Emission/Pods/React/Libraries/NativeAnimation/RCTNativeAnimatedNodesManager.h:12:9: fatal error: 'RCTAnimation/RCTValueAnimatedNode.h' file not found
#import <RCTAnimation/RCTValueAnimatedNode.h>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
currently "fixing" by editing my cocoapods to not validate new pods
This is not fixed in RN 0.52 - https://github.com/artsy/emission/pull/954/files#diff-85aa82bbe579f7df85e420d69b4b89c8R65
We came across this today (new error):
Validating spec
-> Emission (1.5.0)
- WARN | [iOS] attributes: Unrecognized `native_version` key.
- ERROR | [iOS] unknown: Encountered an unknown error (Unable to find a specification for `yoga (= 0.54.4.React)` depended upon by `Emission`) during validation.
[!] The `Emission.podspec` specification does not validate.