Skip to content

Commit 8894da8

Browse files
committed
fix: compile time issues
1 parent e91915e commit 8894da8

3 files changed

Lines changed: 6 additions & 3 deletions

File tree

apps/RNApp/ios/Podfile.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2772,7 +2772,7 @@ EXTERNAL SOURCES:
27722772

27732773
SPEC CHECKSUMS:
27742774
boost: 7e761d76ca2ce687f7cc98e698152abd03a18f90
2775-
Brownie: 1429196bd3e48619a0b3cef86b601b288e8c0e36
2775+
Brownie: 6d3a2e0ddd7d92e80f53220569f42357436ef269
27762776
DoubleConversion: cb417026b2400c8f53ae97020b2be961b59470cb
27772777
fast_float: b32c788ed9c6a8c584d114d0047beda9664e7cc6
27782778
FBLazyVector: 0aa6183b9afe3c31fc65b5d1eeef1f3c19b63bfa

packages/brownie/ios/BrownieFollyConvert.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
#pragma once
22

3+
#ifdef __cplusplus
4+
35
#if __has_include(<react/utils/FollyConvert.h>)
46
// static libs / header maps (no use_frameworks!)
57
#import <react/utils/FollyConvert.h>
@@ -11,3 +13,5 @@
1113
#else
1214
#error "FollyConvert.h not found. Ensure React-utils & RCT-Folly pods are installed."
1315
#endif
16+
17+
#endif

packages/cli/src/brownie/generators/swift.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,7 @@ extension ${typeName}: BrownieStoreProtocol {
7575
}
7676
`;
7777

78-
const swiftOutput =
79-
'import Brownie\n\n' + lines.join('\n') + storeNameExtension;
78+
const swiftOutput = lines.join('\n') + storeNameExtension;
8079
const absoluteOutputPath = path.resolve(process.cwd(), outputPath);
8180
const outputDir = path.dirname(absoluteOutputPath);
8281

0 commit comments

Comments
 (0)