第一:
ls
cd到項(xiàng)目路徑下
ls
執(zhí)行xcode-select install安裝軟件命令
這個時候報(bào)錯
xcode-select: error: invalid argument 'install'
Usage: xcode-select [options]
Print or change the path to the active developer directory. This directory
controls which tools are used for the Xcode command line tools (for example,
xcodebuild) as well as the BSD development commands (such as cc and make).
Options:
-h, --helpprint this help message and exit
-p, --print-pathprint the path of the active developer directory
-s , --switch set the path for the active developer directory
--installopen a dialog for installation of the command line developer tools
-v, --versionprint the xcode-select version
-r, --resetreset to the default command line tools path
錯誤原因可能是我是復(fù)制的命令而不是敲打的命令 有可能多復(fù)制了什么,少了兩個小橫線 - -;
退出桌面安裝
執(zhí)行
安裝命令xcode-select —install安裝命令
安裝的一些步驟,最后提示安裝成功。
測試是否安裝成功, 在次命令xcode-select --install
提示:xcode-select: error: command line tools are already installed, use "Software Update" to install updates
說明安裝成功了。
再次測試是否成功:
sudo xcodebuild -license
一直按空格
然后到最后遇到 “ey**” 這個單詞 打一下這個單詞 然后在回車 ,提示成功。
python官方.py 用到
opencv2.framework導(dǎo)入項(xiàng)目中,在導(dǎo)入如圖想framework,8個;


注意
注意
添加私有設(shè)置的那個圖片中的如下圖
在添加的時候 有一個view controller-based******* N0; 這個是按照 openCV的數(shù)中 12 也的提示加的 ,為了以后不出問題 提前加上。
The status bar and fullscreen settings are stored in the app'sInfo.plistle. SelectCoolPig|CoolPig|Info.plistin the navigator pane. Now, in the editor area, note that theUIRequiresFullscreenandStatus bar is initially hiddenproperties both have theYESvalue. However, we still need to add another property to ensure that the status bar will not appear. Hover over the last item in the list, and click on the+button to insert a new property. EnterView controller-based status bar appearanceas the property's key and set its value toNO, as shown in the following screenshot:


只要簡單的設(shè)置,現(xiàn)在videoCamera已經(jīng)就緒了,只需要以下命令:
[self.videoCamera start];
[self.videoCamera stop];
進(jìn)行控制
c++ 三個錯誤 需要更改objective-c++
