mattrglobal / pairing_crypto

A library for pairing based cryptography
Apache License 2.0
10 stars 4 forks source link

Running react native iOS example app fails #180

Open harry-anderson opened 7 months ago

harry-anderson commented 7 months ago

Hi there, I am trying to run the react-native IOS example app and found running yarn example ios fails.

My environment:

MacOs 14.2 (23C64)
Mac mini - Apple M2 Pro chip
XCode 15.1
Simulator - Device:IPhone 13 OS:15.0

Steps I tried:

cd wrappers/react-native
yarn install --frozen-lockfile
yarn bootstrap
yarn build:all
yarn example ios

yarn example ios command fails with the following output: build-output.txt

/Users/harry/dev/mattrglobal/pairing_crypto/wrappers/react-native/ios/PairingCryptoRn.m:4:9: fatal error: 'bbs_signature.h' file not found
#import <bbs_signature.h>
        ^~~~~~~~~~~~~~~~~
1 error generated.
...
/Users/harry/dev/mattrglobal/pairing_crypto/wrappers/react-native/example/ios/Pods/Pods.xcodeproj: warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 11.0, but the range of supported deployment target versions is 12.0 to 17.2.99. (in target 'YogaKit' from project 'Pods')

--- xcodebuild: WARNING: Using the first of multiple matching destinations:
{ platform:iOS Simulator, id:459B934C-1016-4A63-9FB4-0E85E74512E9, OS:15.0, name:iPhone 13 }
{ platform:iOS Simulator, id:459B934C-1016-4A63-9FB4-0E85E74512E9, OS:15.0, name:iPhone 13 }
** BUILD FAILED **

Any advice would be much appreciated! Thanks in Advance :pray: