Ghellee

UnityWebRequest.mm invalid argument

Jun 3rd, 2022 (edited)
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.72 KB | None | 0 0
  1. INFO: this project relies on CocoaPods to install extra packages.
  2. The CocoaPods command about to be sent is "pod install"
  3. [A]ccept or [C]hange? Default is to [A]ccept if no answer in 5 seconds.
  4.  
  5. Delegating "pod install" job to CocoaPods daemon...
  6. Preparing staging directory...
  7. Sending command: "pod install"
  8. ========================== CocoaPods output BEGIN ===========================
  9. Analyzing dependencies
  10. Downloading dependencies
  11. Generating Pods project
  12. Integrating client project
  13.  
  14. [!] Please close any current Xcode sessions and use `Unity-iPhone.xcworkspace` for this project from now on.
  15. Pod installation complete! There are 0 dependencies from the Podfile and 0 total pods installed.
  16.  
  17. [!] The Podfile does not contain any dependencies.
  18. =========================== CocoaPods output END ============================
  19. Converting symlinks...
  20. Propagating filesystem changes (this can take some time, please wait)...
  21. Done.
  22. =============================================================================
  23. WARNING: this project contains shell scripts, which CANNOT BE RUN on Windows
  24. without being translated first.
  25. WORKAROUND: for now, please remove your assets & plugins having shell scripts
  26. in their build phases, or translate them to batch scripts and call them in a
  27. pre-packaging script (or ignore this warning if the scripts are non-critical)
  28. In Xcode project: Unity-iPhone.xcodeproj
  29. -----------------------------------------------------------------------------
  30. shell script found:
  31. diff "${PODS_PODFILE_DIR_PATH}/Podfile.lock" "${PODS_ROOT}/Manifest.lock" > /dev/null
  32. if [ $? != 0 ] ; then
  33. # print error to STDERR
  34. echo "error: The sandbox is not in sync with the Podfile.lock. Run pod install or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode outputs to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n
  35. =============================================================================
  36. These scripts might be non critical - attempting to proceed anyway.
  37. + Wiping output directory...
  38. Building the CocoaPods dependency project Pods_Unity_iPhone...
  39. + Pruning compiler caches...
  40. + Preparing output directory...
  41. + XCFrameworks: 0 supplied
  42. + Libraries: 9 supplied, 0 built
  43. + Frameworks: 0 supplied, 0 built
  44. + Pruning compilation results...
  45. + Pre-parsing project files...
  46. + Building Pods_Unity_iPhone for iphoneos (configuration: Release)
  47. Nothing to link here, skipping.
  48.  
  49. Building the CocoaPods dependency project Pods_UnityFramework...
  50. + Preparing output directory...
  51. + XCFrameworks: 0 supplied
  52. + Libraries: 9 supplied, 0 built
  53. + Frameworks: 0 supplied, 0 built
  54. + Pruning compilation results...
  55. + Pre-parsing project files...
  56. + Building Pods_UnityFramework for iphoneos (configuration: Release)
  57. Nothing to link here, skipping.
  58.  
  59. Building the dependency project UnityFramework...
  60. =============================================================================
  61. WARNING: this project contains shell scripts, which CANNOT BE RUN on Windows
  62. without being translated first.
  63. WORKAROUND: for now, please remove your assets & plugins having shell scripts
  64. in their build phases, or translate them to batch scripts and call them in a
  65. pre-packaging script (or ignore this warning if the scripts are non-critical)
  66. In Xcode project: Unity-iPhone.xcodeproj
  67. -----------------------------------------------------------------------------
  68. shell script found:
  69. diff "${PODS_PODFILE_DIR_PATH}/Podfile.lock" "${PODS_ROOT}/Manifest.lock" > /dev/null
  70. if [ $? != 0 ] ; then
  71. # print error to STDERR
  72. echo "error: The sandbox is not in sync with the Podfile.lock. Run pod install or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode outputs to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n
  73. =============================================================================
  74. These scripts might be non critical - attempting to proceed anyway.
  75. + Preparing output directory...
  76. + XCFrameworks: 0 supplied
  77. + Libraries: 9 supplied, 0 built
  78. + Frameworks: 0 supplied, 0 built
  79. + Pruning compilation results...
  80. + Pre-parsing project files...
  81. + Building UnityFramework for iphoneos (configuration: Release)
  82. + [armv7] Compiling ./Classes/Unity/UnityWebRequest.mm...
  83. ./Classes/Unity/UnityWebRequest.mm(99,13): error: missing '#include <pthread/sched.h>'; 'sched_yield' must be declared before it is used
  84. sched_yield();
  85. ^
  86. C:\Users\IRAKLI\iOS Project Builder for Unity\SDK\usr\include\pthread\sched.h(40,12): note: declaration here is not visible
  87. extern int sched_yield(void);
  88. ^
  89. 1 error generated.
  90.  
  91. Press any key to continue . . .
Add Comment
Please, Sign In to add comment