这些是我的错误信息
Running with gitlab-ci-multi-runner 1.5.3 (fb49c47)
Using Shell executor...
Running on luckyxmobiledeMac-mini-2.local...
Fetching changes...
HEAD is now at e56d7ac Update README.md
Checking out e56d7ace as master...
bash: line 4: shell_session_update: command not found
ERROR: Build failed: exit status 127
Run Code Online (Sandbox Code Playgroud)
这些是我的.gitlab-ci.yml:=的内容
stages: - build build_project: stage: build script: - xcodebuild clean -project ProjectName.xcodeproj -scheme SchemeName | xcpretty - xcodebuild test -project ProjectName.xcodeproj -scheme SchemeName -destination 'platform=iOS Simulator,name=iPhone 6s,OS=9.2' | xcpretty -s tags: - ios_9-2 - osx_10-11
我知道当我们需要一个 nativeUI 组件时,我们需要覆盖函数 \n getName()
,\n createViewInstance(ThemedReactContext context)
但是当我使用关于 map 的依赖时。API 需要我使用这样的组件
@Override \nprotected void onDestroy() { \n super.onDestroy(); \n //\xe5\x9c\xa8activity\xe6\x89\xa7\xe8\xa1\x8conDestroy\xe6\x97\xb6\xe6\x89\xa7\xe8\xa1\x8cmMapView.onDestroy()\xef\xbc\x8c \n mMapView.onDestroy(); \n} \n@Override \nprotected void onResume() { \n super.onResume(); \n //\xe5\x9c\xa8activity\xe6\x89\xa7\xe8\xa1\x8conResume\xe6\x97\xb6\xe6\x89\xa7\xe8\xa1\x8cmMapView. onResume ()\xef\xbc\x8c \n mMapView.onResume(); \n } \n@Override \nprotected void onPause() { \n super.onPause(); \n //\xe5\x9c\xa8activity\xe6\x89\xa7\xe8\xa1\x8conPause\xe6\x97\xb6\xe6\x89\xa7\xe8\xa1\x8cmMapView. onPause ()\xef\xbc\x8c \n mMapView.onPause(); \n } \n}\n
Run Code Online (Sandbox Code Playgroud)\n\n我重写了这个函数getetName()
,\n createViewInstance(ThemedReactContext context)
就像这样
@Override\npublic String getName() {\n return REACT_CLASS;\n}\n\n@Override\npublic MapView createViewInstance(ThemedReactContext context) {\n final ThemedReactContext mapContext = …
Run Code Online (Sandbox Code Playgroud)