一备绽、使用framework的相關(guān)指令
- 查看framework包,執(zhí)行文件類型
- lipo -info + 文件路徑
- 按類型抽取數(shù)據(jù)
- lipo 文件路徑 -thin 類型 -output 輸出路徑
- 合并
- lipo -create 文件路徑1 文件路徑2 -output 輸出路徑
指令代碼.png
4.在創(chuàng)建文件的時(shí)候提示你沒有操作權(quán)限:
E325: ATTENTION
Found a swap file by the name ".application.properties.swp"
owned by: wasadmin dated: Tue Nov 29 14:31:30 2016
file name: /opt/IBM/WebSphere/AppServer/profiles/AppSrv03/installedApps/B2C-WAP-API-2Node03Cell/airchina_war.ear/airchina.war/WEB-INF/config/application.properties
modified: no
user name: wasadmin host name: B2C-WAP-API-2
process ID: 9278 (still running)
While opening file "application.properties"
dated: Tue Nov 29 12:48:05 2016
(1) Another program may be editing the same file.
If this is the case, be careful not to end up with two
different instances of the same file when making changes.
Quit, or continue with caution.
(2) An edit session for this file crashed.
If this is the case, use ":recover" or "vim -r application.properties"
to recover the changes (see ":help recovery").
If you did this already, delete the swap file ".application.properties.swp"
to avoid this message.
Swap file ".application.properties.swp" already exists!
[O]pen Read-Only, (E)dit anyway, (R)ecover, (Q)uit, (A)bort
有三種可能:
該錯(cuò)誤為當(dāng)前用戶沒有權(quán)限對文件作修改,你有權(quán)限修改文件嗎下面?如果是root權(quán)限,可以:wq! 強(qiáng)行保存退出屡萤;
該文件沒有正確保存退出趋艘,正在打開狀態(tài)奄妨,請別人關(guān)閉后再保存;
若該文件所有人都關(guān)閉了吕喘,提示有的人沒有關(guān)閉赘那,則刪除該文件的臨時(shí)文件則可以正常打開、修改氯质、保存募舟;
解決方法
強(qiáng)制保存 --> ':wq!'
待續(xù)......