Skip to content

Commit 6f7bfc3

Browse files
Merge pull request #14 from douglasjunior/search-path
Added correct search path
2 parents 83f2e59 + c362180 commit 6f7bfc3

File tree

3 files changed

+27
-5
lines changed

3 files changed

+27
-5
lines changed

ios/ReactNativeKeyboardManager.xcodeproj/project.pbxproj

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -382,8 +382,19 @@
382382
CLANG_WARN_SUSPICIOUS_MOVE = YES;
383383
DEBUG_INFORMATION_FORMAT = dwarf;
384384
ENABLE_TESTABILITY = YES;
385+
FRAMEWORK_SEARCH_PATHS = (
386+
"$(inherited)",
387+
"$(PROJECT_DIR)",
388+
"$(PROJECT_DIR)/Frameworks",
389+
);
385390
GCC_NO_COMMON_BLOCKS = YES;
391+
HEADER_SEARCH_PATHS = (
392+
"$(inherited)",
393+
"$(SRCROOT)/../node_modules/react-native/Libraries/Text",
394+
"$(SRCROOT)/../../react-native/Libraries/Text",
395+
);
386396
IPHONEOS_DEPLOYMENT_TARGET = 10.3;
397+
LIBRARY_SEARCH_PATHS = "";
387398
OTHER_LDFLAGS = "-ObjC";
388399
PRODUCT_NAME = "$(TARGET_NAME)";
389400
SKIP_INSTALL = YES;
@@ -400,8 +411,19 @@
400411
CLANG_WARN_SUSPICIOUS_MOVE = YES;
401412
COPY_PHASE_STRIP = NO;
402413
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
414+
FRAMEWORK_SEARCH_PATHS = (
415+
"$(inherited)",
416+
"$(PROJECT_DIR)",
417+
"$(PROJECT_DIR)/Frameworks",
418+
);
403419
GCC_NO_COMMON_BLOCKS = YES;
420+
HEADER_SEARCH_PATHS = (
421+
"$(inherited)",
422+
"$(SRCROOT)/../node_modules/react-native/Libraries/Text",
423+
"$(SRCROOT)/../../react-native/Libraries/Text",
424+
);
404425
IPHONEOS_DEPLOYMENT_TARGET = 10.3;
426+
LIBRARY_SEARCH_PATHS = "";
405427
OTHER_LDFLAGS = "-ObjC";
406428
PRODUCT_NAME = "$(TARGET_NAME)";
407429
SKIP_INSTALL = YES;

ios/ReactNativeKeyboardManager/RCTTextInput+Hack.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
2121
// THE SOFTWARE.
2222

23-
#import <RCTText/RCTTextInput.h>
23+
#import "RCTTextInput.h"
2424
#import <Foundation/Foundation.h>
2525

2626
@interface RCTTextInput (Hack)

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,14 +29,14 @@
2929
"babel-jest": "20.0.3",
3030
"babel-preset-react-native": "1.9.2",
3131
"jest": "20.0.4",
32-
"react-test-renderer": "16.0.0-alpha.6",
33-
"react": "16.0.0-alpha.6",
34-
"react-native": "0.44.3"
32+
"react-test-renderer": "16.0.0-alpha.12",
33+
"react": "16.0.0-alpha.12",
34+
"react-native": "0.47.0"
3535
},
3636
"jest": {
3737
"preset": "react-native"
3838
},
3939
"peerDependencies": {
40-
"react-native": ">=0.40"
40+
"react-native": ">=0.47"
4141
}
4242
}

0 commit comments

Comments
 (0)