...menustart
...menuend
# ios Debug
export DEVELOPER_DIR="/Applications/Xcode.app/Contents/Developer"
alias symbolicatecrash="/Applications/Xcode.app/Contents/SharedFrameworks/DVTFoundation.framework/Versions/A/Resources/symbolicatecrash"
把你的.crash文件.app文件和.dSYM文件放在同一个目录下然后运行:
symbolicatecrash -v ScaryCrash.crash > Symbolicated.crash
#!/bin/bash
APPNAME="justdance"
ZIPNAME="${APPNAME}zip"
IPANAME="${APPNAME}IPA"
mkdir -p ./ipa/Payload
cp -r ./${APPNAME}.app ./ipa/Payload
cd ipa
zip -r ${ZIPNAME} *
mv ${ZIPNAME}.zip ${IPANAME}.ipa
security cms -D -i example.mobileprovision
- download device support files if you don't want to change your Xcode right now from
- And then put at a location.
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/
-
create a bridging header file
<#YourProjectName#>-Bridging-Header.h
-
Build Setting / Objective-C Bridging Header
- link your bridging header file
- It's best practice to link your project using the
$(SRCROOT) macro so that if you move your project. $ (SRCROOT) can be thought of as the directory that contains your .xcodeproj file.
-
In YourProject-Bridging-Header.h:
#import "<#yourFrameWork/yourheader>.h"