Pushwoosh / pushwoosh-expo-plugin

MIT License
1 stars 0 forks source link

ios build failing: Pushwoosh/Pushwoosh.h' file not found #1

Open plateup opened 2 days ago

plateup commented 2 days ago
› Copying   pushwoosh-react-native-plugin ../../../Users/expo/Library/Developer/Xcode/DerivedData/PlateUpstaging-ddqzfwtidveukhelmmthtjmhifjb/Build/Intermediates.noindex/ArchiveIntermediates/PlateUpstaging/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/pushwoosh_react_native_plugin.framework/Headers/pushwoosh-react-native-plugin-umbrella.h ➜ ../../../Users/expo/workingdir/build/ios/Pods/Target/ Support/ Files/pushwoosh-react-native-plugin/pushwoosh-react-native-plugin-umbrella.h
› Copying   pushwoosh-react-native-plugin ../../../Users/expo/Library/Developer/Xcode/DerivedData/PlateUpstaging-ddqzfwtidveukhelmmthtjmhifjb/Build/Intermediates.noindex/ArchiveIntermediates/PlateUpstaging/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/pushwoosh_react_native_plugin.framework/Headers/Pushwoosh.h ➜ ../../../Users/expo/workingdir/build/node_modules/pushwoosh-react-native-plugin/src/ios/PushwooshPlugin/Pushwoosh.h
› Copying   pushwoosh-react-native-plugin ../../../Users/expo/Library/Developer/Xcode/DerivedData/PlateUpstaging-ddqzfwtidveukhelmmthtjmhifjb/Build/Intermediates.noindex/ArchiveIntermediates/PlateUpstaging/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/pushwoosh_react_native_plugin.framework/Headers/PWInlineInAppManager.h ➜ ../../../Users/expo/workingdir/build/node_modules/pushwoosh-react-native-plugin/src/ios/PushwooshPlugin/PWInlineInAppManager.h
› Compiling pushwoosh-react-native-plugin Pods/pushwoosh-react-native-plugin » pushwoosh-react-native-plugin-dummy.m
› Compiling pushwoosh-react-native-plugin Pods/pushwoosh-react-native-plugin » Pushwoosh.m

❌  (node_modules/pushwoosh-react-native-plugin/src/ios/PushwooshPlugin/Pushwoosh.h:11:9)

   9 | #import <React/RCTBridgeModule.h>
  10 | #import <React/RCTEventEmitter.h>
> 11 | #import <Pushwoosh/Pushwoosh.h>
     |         ^ 'Pushwoosh/Pushwoosh.h' file not found
  12 | 
  13 | #if __has_include(<Pushwoosh/PushNotificationManager.h>)
  14 | #import <Pushwoosh/PushNotificationManager.h>

› Compiling pushwoosh-react-native-plugin Pods/pushwoosh-react-native-plugin » PWInlineInAppManager.m
› Compiling pushwoosh-react-native-plugin Pods/pushwoosh-react-native-plugin » PWEventDispatcher.m
⚠️  Script has ambiguous dependencies causing it to run on every build.
   To fix, go to: Xcode » PlateUpstaging/PlateUpstaging » Build Phases » 'Upload Debug Symbols to Sentry'
   Either: Uncheck "Based on dependency analysis", or select output files to trigger the script

⚠️  Script has ambiguous dependencies causing it to run on every build.
   To fix, go to: Xcode » PlateUpstaging/PlateUpstaging » Build Phases » '[CP-User] [RNFB] Core Configuration'
   Either: Uncheck "Based on dependency analysis", or select output files to trigger the script

    Run script build phase 'Create Symlinks to Header Folders' will be run during every build because it does not specify any outputs. To address this warning, either add output dependencies to the script phase, or configure it to run in every build by unchecking "Based on dependency analysis" in 
    Run script build phase '[CP-User] Generate app.config for prebuilt Constants.manifest' will be run during every build because it does not specify any outputs. To address this warning, either add output dependencies to the script phase, or configure it to run in every build b
▸ ** ARCHIVE FAILED **
▸ The following build commands failed:
▸   CompileC /Users/expo/Library/Developer/Xcode/DerivedData/PlateUpstaging-ddqzfwtidveukhelmmthtjmhifjb/Build/Intermediates.noindex/ArchiveIntermediates/PlateUpstaging/IntermediateBuildFilesPath/Pods.build/Release-iphoneos/pushwoosh-react-native-plugin.build/Objects-normal/arm64/Pushwoosh.o /Users/expo/workingdir/build/node_modules/pushwoosh-react-native-plugin/src/ios/PushwooshPlugin/Pushwoosh.m normal arm64 objective-c com.apple.compilers.llvm.clang.1_0.compiler (in target 'pushwoosh-react-native-plugin' from project 'Pods')
▸ (1 failure)
** ARCHIVE FAILED **

The following build commands failed:
    CompileC /Users/expo/Library/Developer/Xcode/DerivedData/PlateUpstaging-ddqzfwtidveukhelmmthtjmhifjb/Build/Intermediates.noindex/ArchiveIntermediates/PlateUpstaging/IntermediateBuildFilesPath/Pods.build/Release-iphoneos/pushwoosh-react-native-plugin.build/Objects-normal/arm64/Pushwoosh.o /Users/expo/workingdir/build/node_modules/pushwoosh-react-native-plugin/src/ios/PushwooshPlugin/Pushwoosh.m normal arm64 objective-c com.apple.compilers.llvm.clang.1_0.compiler (in target 'pushwoosh-react-native-plugin' from project 'Pods')
(1 failure)
Exit status: 65

+---------------------------------------+
|           Build environment           |
+-------------+-------------------------+
| xcode_path  | /Applications/Xcode.app |
| gym_version | 2.220.0                 |
| sdk         | iPhoneOS17.5.sdk        |
+-------------+-------------------------+

Looks like fastlane ran into a build/archive error with your project
It's hard to tell what's causing the error, so we wrote some guides on how
to troubleshoot build and signing issues: https://docs.fastlane.tools/codesigning/getting-started/
Before submitting an issue on GitHub, please follow the guide above and make
sure your project is set up correctly.
fastlane uses `xcodebuild` commands to generate your binary, you can see the
the full commands printed out in yellow in the above log.
Make sure to inspect the output above, as usually you'll find more error information there

[!] Error building the application - see the log above
Error: The "Run fastlane" step failed with an unknown error. Refer to "Xcode Logs" below for additional, more detailed logs.
yehonadav commented 4 hours ago

image i also have this issue