原创 Library not found for -lstdc++.6.0.9

下載這個腳本,這個腳本能一鍵配置:https://github.com/devdawei/libstdc- 具體使用方法: Xcode 10和Xcode 11中刪除的libstdc++庫 先下載下來這個項目,然後把該文件拖到桌面,然後打開

原创 We ran xcodebuild command but it exited with error code 65

error Failed to build iOS project. We ran "xcodebuild" command but it exited with error code 65. To debug build logs fu

原创 react-native升級問題總結

問題1: react-native-collapsible---->undefined is not an object evaluating reactNative.View.propTypes 解決方案  升級 react-nativ

原创 react-native-image-crop-picke

No known class method for selector 'labelColor' QBImagePicker/QBAssetsViewController.m:198:31: error: no known class me

原创 VUE理解 $nextTick 的作用

有同學在看 Vue 官方文檔時,對 API 文檔中的 Vue.nextTick 和 vm.$nextTick 的作用不太理解。其實如果看一下深

原创 TypeError: Cannot read property contain of undefined

Unhandled JS Exception: TypeError: TypeError: Cannot read property 'contain' of undefined   RN版本升級 : resizeMode={Image.

原创 Error: Unable to resolve module `../../image/Home/@2x.png`

error: bundling failed: Error: Unable to resolve module `../../image/Task/[email protected]` from `/Users/xxxx/TaskDetails.js`

原创 React/RCTRootContentView.h file not found Cannot read property Direction of undefined

'React/RCTRootContentView.h' file not found     Cannot read property 'Direction' of undefined   Got the same error usin

原创 Mac必備:SVN常用命令

# checkout代碼svn co svn://svnbucket.com/xxx/xxx # 更新代碼svn up # 添加新文件到版本庫svn add filename # 添加當前目錄下所有php文件svn add *.p

原创 Mac mysql常用操作命令

鏈接數據庫 mysql -uroot(用戶名) -ppassword(密碼) 查看數據庫 show databases 創建數據庫 create database if not 數據庫名稱 exists default char

原创 git命令之git merge 和 git rebase的區別

git merge是用來合併兩個分支的。 將b分支合併到當前分支 git merge b git cherry-pick可以選擇某一個分支中的一個或幾個commit(s)來進行操作。例如,假設我 們有個穩定版本的分支,叫v2.0,

原创 MacPorts 初裝後提示 command not found: port 解決方案

https://www.macports.org/install.php 下載,安裝後,(環境  MacOS  Serria ) 運行 port -v 提示 command not found: port 其實是未設置環境變量 執

原创 RN- Flatlist state更新數據不刷新問題

<FlatList keyExtractor={ () => Math.random(2) } data={this.state.goodList} renderI

原创 JS獲取今天周幾

1.初級方法 var week = new Date().getDay(),str='今天是星期'; if(week === 0){str += '日'}... 或者switch.. 2.中級方法 var week = new

原创 react-native navigation 返回刷新

<TouchableOpacity onPress={()=>this.turnTo()}> <Text> 123</Text> </Touc