1.網路解法

大概是把模擬器中的.app檔案與.dSYM檔案
一起呀說給FB審核就可以

  • Step 1: open finder and press command⌘ + shift⇧ + g
  • Step 2: paste “~/Library/Developer/Xcode/DerivedData”
  • Step 3: select your_app_name-jkfksdfhskdhfksdh some thing like this folder
  • Step 4: your_app_name-jkfksdfhskdhfksdh >>Build >>Products>>Debug-iphoneos
  • Step 5: You will see 2 files one is your_app_name.app(icon like rounder and 1 cross line ) and 2nd file is your_app_name.app.dSYM
  • Step 6: To create .zip file right click on your_app_name.app and select “Compress your_app_name”. It will generate .zip file and submit it to facebook.

    路徑

    ~/Library/Developer/Xcode/DerivedData/*/Build/Products/*-iphonesimulator/*.app

2.官方解法

FB教學

https://developers.facebook.com/docs/ios/getting-started/advanced/#sim_build

安裝 ios-sim

https://github.com/ios-control/ios-sim?fbclid=IwAR13FbecWxAmNRNzVS1ewWTA79TEkAURAXsQ7b-T3jxV_HtUMRZkNpTFMwA

brew install ios-sim

執行

 ios-sim launch ./build/MyTestApp.app

實測無法輸出


http://blog.changyy.org/2015/04/ios-ios-simulator-app-facebook-review.html
https://stackoverflow.com/questions/33694478/error-in-creating-simulator-build-for-facebook-submission-for-review-zip
http://adilapapaya.com/docs/ios-sim/


Categorized in: