Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failing to build for iOS with Fastlane error #191

Closed
apetta opened this issue Oct 4, 2023 · 16 comments
Closed

Failing to build for iOS with Fastlane error #191

apetta opened this issue Oct 4, 2023 · 16 comments

Comments

@apetta
Copy link

apetta commented Oct 4, 2023

The following build commands failed:
[RUN_FASTLANE]  CompileC /var/folders/88/t01zgnyn4v5frfwvx9zydw_w0000gn/T/eas-build-local-nodejs/604214d7-9e70-45ab-a16a-c350d4b3eaef/build/apps/native/ios/build/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/react-native-quick-crypto.build/Objects-normal/x86_64/MGLVerifyInstaller.o /var/folders/88/t01zgnyn4v5frfwvx9zydw_w0000gn/T/eas-build-local-nodejs/604214d7-9e70-45ab-a16a-c350d4b3eaef/build/node_modules/react-native-quick-crypto/cpp/Sig/MGLVerifyInstaller.cpp normal x86_64 c++ com.apple.compilers.llvm.clang.1_0.compiler (in target 'react-native-quick-crypto' from project 'Pods')

Using:
Expo 49.0.13
Expo Dev Client 2.4.8
React Native 0.72.5
XCode 15

@apetta
Copy link
Author

apetta commented Oct 4, 2023

Same issue on XCode 14, so I don't think it's related to the current Xcode 15 bugs...

EAS Build runtime:

Using VM template "macos-ventura-13.4-xcode-14.3.1" running macOS Ventura 13.4


Installed software:

- Xcode 14.3.1 (14E300c)

- Node.js 16.18.1

- Bun 1.0.2

- Yarn 1.22.17

- pnpm 8.6.5

- npm 8.1.2

- fastlane 2.213.0

- CocoaPods 1.12.1

- Ruby 2.7

@apetta
Copy link
Author

apetta commented Oct 4, 2023

Actually, I think this is likely related to #187

apetta added a commit to apetta/react-native-quick-crypto that referenced this issue Oct 4, 2023
Update react-native-quick-crypto.podspec, as per margelo#191 and patch by @dhalul in margelo#187
@manueldomi
Copy link

manueldomi commented Oct 10, 2023

@apetta Sure its related ? Im getting this same issue on AppCenter builds

@apetta
Copy link
Author

apetta commented Oct 10, 2023

@apetta Sure its related ? Im getting this same issue on AppCenter builds

Not sure about AppCenter, but I was able to resolve my issue with the patch shared on that issue - worth a try!

@apetta
Copy link
Author

apetta commented Oct 11, 2023

@apetta Sure its related ? Im getting this same issue on AppCenter builds

Not sure about AppCenter, but I was able to resolve my issue with the patch shared on that issue - worth a try!

Actually, I'm getting this again once I set the deploymentTarget to iOS 15/16 instead of omitting the field in expo-build-properties

@apetta
Copy link
Author

apetta commented Oct 11, 2023

Yeah can confirm it only works with "deploymentTarget": "13.0", anything higher breaks it... strange.

@manueldomi
Copy link

Patch didn't work for me. I fixed it specifying OpenSSl Version in Pods file under shared pods, maybe does the trick for you also.
pod "OpenSSL-Universal", "1.1.1100"

@apetta
Copy link
Author

apetta commented Oct 11, 2023

Patch didn't work for me. I fixed it specifying OpenSSl Version in Pods file under shared pods, maybe does the trick for you also. pod "OpenSSL-Universal", "1.1.1100"

Ha! was literally just doing the same thing! I patched the podspec file to specify the OpenSSL version

For anyone else facing this issue, you can use this patch:

react-native-quick-crypto+0.6.1.patch

@kassemitani
Copy link

kassemitani commented Nov 25, 2023

@apetta i am getting an error on pod install, after use the patch you posted.

[!] CocoaPods could not find compatible versions for pod "OpenSSL-Universal":
In Podfile:
OpenSSL-Universal (= 1.1.1100)

react-native-quick-crypto (from `../node_modules/react-native-quick-crypto`) was resolved to 0.6.1, which depends on
  OpenSSL-Universal (~> 1.1.2200)

Specs satisfying the OpenSSL-Universal (= 1.1.1100), OpenSSL-Universal (~> 1.1.2200) dependency were found, but they required a higher minimum deployment target.

@ospfranco
Copy link
Collaborator

The package has been updated, can you all give it a try with the latest version please?

@apetta
Copy link
Author

apetta commented Dec 13, 2023

The package has been updated, can you all give it a try with the latest version please?

Would love to try it, but the package still seems to be at 0.6.1

@ospfranco
Copy link
Collaborator

Yeah, my bad, thought a new version was released. I will ping you once a new version is out, currently fixing some merge issues on my PRs

@Jzuni97
Copy link

Jzuni97 commented Jan 2, 2024

Is there a timeline more or less? I have another package that depends on deployment target being ios 14, which causes the build failure.

Yeah, my bad, thought a new version was released. I will ping you once a new version is out, currently fixing some merge issues on my PRs

@ospfranco
Copy link
Collaborator

Currently under review #200

@andrisole92
Copy link

Build failing:

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

[RUN_FASTLANE]     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 sc
[RUN_FASTLANE] ▸ ** BUILD FAILED **
[RUN_FASTLANE] ▸ The following build commands failed:
[RUN_FASTLANE] ▸        CompileC /var/folders/cr/ny6vby1n7qbdhk5jsyhd0vtr0000gn/T/eas-build-local-nodejs/afe439ec-5b42-489d-8f1f-d15925719e68/build/ios/build/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/react-native-quick-crypto.build/Objects-normal/x86_64/MGLVerifyInstaller.o /var/folders/cr/ny6vby1n7qbdhk5jsyhd0vtr0000gn/T/eas-build-local-nodejs/afe439ec-5b42-489d-8f1f-d15925719e68/build/node_modules/react-native-quick-crypto/cpp/Sig/MGLVerifyInstaller.cpp normal x86_64 c++ com.apple.compilers.llvm.clang.1_0.compiler (in target 'react-native-quick-crypto' from project 'Pods')
[RUN_FASTLANE] ▸ (1 failure)
[RUN_FASTLANE] ** BUILD FAILED **

Using 0.61

react-native-quick-crypto@^0.6.1:
  version "0.6.1"
  resolved "https://registry.yarnpkg.com/react-native-quick-crypto/-/react-native-quick-crypto-0.6.1.tgz#7b89c67c4a5d3669c4491fe7884621c1c74d01bc"
  integrity sha512-s6uFo7tcI3syo8/y5j+t6Rf+KVSuRKDp6tH04A0vjaHptJC6Iu7DVgkNYO7aqtfrYn8ZUgQ/Kqaq+m4i9TxgIQ==
  dependencies:
    "@craftzdog/react-native-buffer" "^6.0.5"
    "@types/node" "^17.0.31"
    crypto-browserify "^3.12.0"
    events "^3.3.0"
    react-native-quick-base64 "^2.0.5"
    stream-browserify "^3.0.0"
    string_decoder "^1.3.0"

@boorad
Copy link
Collaborator

boorad commented May 12, 2024

I think this was solved recently, maybe #253, maybe after. Can you try the latest 0.7.0-rc.X and see if this issue persists? If so, please reopen this ticket.

@boorad boorad closed this as completed May 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants