Ich möchte einige grundlegende Operation mit nativen auf iOS reagieren, und auf Cocoapods hochladen, wenn ich xxx.podspec bearbeiten, kann ich nicht angegeben Versionsnummer von reagieren und Quelle Link.Wie zu integrieren Reagieren mit Cocoapoden auf meine podspec
**
- das ist mein podspec:
**
s.ios.deployment_target = '8.0'
s.source_files = 'SCCReactNative/Classes/**/*'
# s.resource_bundles = {
# 'SCCReactNative' => ['SCCReactNative/Assets/*.png']
# }
# s.public_header_files = 'Pod/Classes/**/*.h'
# s.frameworks = 'UIKit', 'MapKit'
# s.dependency 'AFNetworking', '~> 2.3'
s.dependency 'React', :git => 'https://github.com/facebook/react-native.git', :tag => 'v0.31.0', :subspecs => [
'Core',
'RCTImage',
'RCTNetwork',
'RCTText',
'RCTWebSocket',
'ART',
'RCTActionSheet',
'RCTAdSupport',
'RCTCameraRoll',
'RCTGeolocation',
'RCTPushNotification',
'RCTSettings',
'RCTVibration',
'RCTLinkingIOS',
#'RCTTest',
]`enter code here`
**
- und das ist Fehler
**
[!] Invalid `SCCReactNative.podspec` file: undefined local variable or method `source' for Pod:Module.
# from /Users/huangcheng/Desktop/Project/SCCReactNative/SCCReactNative.podspec:50
# -------------------------------------------
# s.dependency 'SCCUtil'
> s.dependency 'React', source => 'https://github.com/facebook/react-native.git' ,tag => 'v0.31.0' ,subspecs => [
# 'Core',
#
jemand kann mir helfen?
ich die Frage beheben hatte, sagen meine Antwort. Danke – user5319936