-
Notifications
You must be signed in to change notification settings - Fork 223
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
Xcode Warning non-portable path to file appcenter-prefix.pch #1788
Comments
Hi there @fylock! I made a fresh install on an empty app with Xcode 10.3 and deployment target set to 10. I also built choosing 10.3 Simulator and I didn't encounter this warning. Does your project have some specific configuration I should know about? An |
Ah yes, one thing I left out from my original post, is that I am ingesting the native iOS SDK using the ReactNative AppCenter SDK. So it is possible the ReactNative SDK is influencing the build path for the "appcenter-prefix.pch" file. Any chance you could update your empty app to ingest the iOS SDK using the ReactNative AppCenter SDK? |
@fylock I have seen this warning dealing with another RN issue today. Any chance you are using |
@annakocheshkova I do not have Attaching a section of my Podfile below for reference. You should be able to easily repro this by creating a new RN60 project and use auto linking for RN AppCenter. |
@fylock using this on a new project, when |
Hey. Looks like this is not reproduced on our side. I am closing this issue. Feel free to reopen if you have more info. |
I can't seem to get rid of this Xcode warning:
The contents of my package.json: {
"name": "MyApp",
"private": true,
"scripts": {
"start": "react-native start",
"postinstall": "npx jetify && pod install --project-directory=ios"
},
"dependencies": {
"@react-native-community/async-storage": "^1.6.3",
"@react-native-community/netinfo": "^5.0.0",
"@react-native-firebase/analytics": "^6.2.0",
"@react-native-firebase/app": "^6.2.0",
"@react-native-firebase/crashlytics": "^6.2.0",
"appcenter": "^2.6.0",
"appcenter-analytics": "^2.6.0",
"base-64": "^0.1.0",
"expo-av": "8.0.0",
"expo-secure-store": "8.0.0",
"expo-web-browser": "8.0.0",
"lodash.debounce": "^4.0.8",
"prop-types": "^15.7.2",
"query-string": "^6.9.0",
"react": "16.9.0",
"react-native": "0.61.5",
"react-native-code-push": "^5.7.0",
"react-native-extended-stylesheet": "^0.12.0",
"react-native-gesture-handler": "^1.5.2",
"react-native-in-app-utils": "^6.0.2",
"react-native-linear-gradient": "^2.5.6",
"react-native-material-dropdown": "^0.11.1",
"react-native-orientation-locker": "^1.1.7",
"react-native-reanimated": "^1.4.0",
"react-native-render-html": "^4.1.2",
"react-native-screens": "^1.0.0-alpha",
"react-native-search-box": "^0.0.19",
"react-native-sideswipe": "^1.5.0",
"react-native-unimodules": "0.7.0",
"react-native-vector-icons": "^6.6.0",
"react-navigation": "^4.0.10",
"react-navigation-stack": "^1.10.3",
"react-navigation-tabs": "^2.6.2",
"uuid-js": "^0.7.5"
},
"devDependencies": {
"@babel/core": "^7.7.5",
"@babel/runtime": "^7.7.6",
"@react-native-community/eslint-config": "^0.0.5",
"@types/jest": "^24.0.23",
"@types/react-native": "^0.60.24",
"@types/react-native-vector-icons": "^6.4.4",
"@types/react-test-renderer": "16.9.1",
"@typescript-eslint/eslint-plugin": "^2.10.0",
"@typescript-eslint/parser": "^2.10.0",
"babel-jest": "^24.9.0",
"babel-plugin-module-resolver": "^3.2.0",
"eslint": "^6.7.2",
"eslint-plugin-react": "^7.17.0",
"jest": "^24.9.0",
"metro-react-native-babel-preset": "^0.57.0",
"react-test-renderer": "16.9.0",
"typescript": "^3.7.3"
},
"jest": {
"preset": "react-native",
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx",
"json",
"node"
]
}
} The contents of my Podfile: source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '10.0'
inhibit_all_warnings!
require_relative '../node_modules/@react-native-community/cli-platform-ios/native_modules'
require_relative '../node_modules/react-native-unimodules/cocoapods.rb'
project 'MyApp.xcodeproj'
target 'MyApp' do
pod 'FBLazyVector', :path => "../node_modules/react-native/Libraries/FBLazyVector"
pod 'FBReactNativeSpec', :path => "../node_modules/react-native/Libraries/FBReactNativeSpec"
pod 'RCTRequired', :path => "../node_modules/react-native/Libraries/RCTRequired"
pod 'RCTTypeSafety', :path => "../node_modules/react-native/Libraries/TypeSafety"
pod 'React', :path => '../node_modules/react-native/'
pod 'React-Core', :path => '../node_modules/react-native/'
pod 'React-CoreModules', :path => '../node_modules/react-native/React/CoreModules'
pod 'React-Core/DevSupport', :path => '../node_modules/react-native/'
pod 'React-RCTActionSheet', :path => '../node_modules/react-native/Libraries/ActionSheetIOS'
pod 'React-RCTAnimation', :path => '../node_modules/react-native/Libraries/NativeAnimation'
pod 'React-RCTBlob', :path => '../node_modules/react-native/Libraries/Blob'
pod 'React-RCTImage', :path => '../node_modules/react-native/Libraries/Image'
pod 'React-RCTLinking', :path => '../node_modules/react-native/Libraries/LinkingIOS'
pod 'React-RCTNetwork', :path => '../node_modules/react-native/Libraries/Network'
pod 'React-RCTSettings', :path => '../node_modules/react-native/Libraries/Settings'
pod 'React-RCTText', :path => '../node_modules/react-native/Libraries/Text'
pod 'React-RCTVibration', :path => '../node_modules/react-native/Libraries/Vibration'
pod 'React-Core/RCTWebSocket', :path => '../node_modules/react-native/'
pod 'React-cxxreact', :path => '../node_modules/react-native/ReactCommon/cxxreact'
pod 'React-jsi', :path => '../node_modules/react-native/ReactCommon/jsi'
pod 'React-jsiexecutor', :path => '../node_modules/react-native/ReactCommon/jsiexecutor'
pod 'React-jsinspector', :path => '../node_modules/react-native/ReactCommon/jsinspector'
pod 'ReactCommon/jscallinvoker', :path => "../node_modules/react-native/ReactCommon"
pod 'ReactCommon/turbomodule/core', :path => "../node_modules/react-native/ReactCommon"
pod 'Yoga', :path => '../node_modules/react-native/ReactCommon/yoga'
pod 'DoubleConversion', :podspec => '../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec'
pod 'glog', :podspec => '../node_modules/react-native/third-party-podspecs/glog.podspec'
pod 'Folly', :podspec => '../node_modules/react-native/third-party-podspecs/Folly.podspec'
# CodePush for over-the-air updates
pod 'CodePush', :path => '../node_modules/react-native-code-push'
# Set Crashlytics version, this is a newer version than in the Firebase package
$CrashlyticsSDKVersion = '3.14.0'
$FabricSDKVersion = '1.10.2'
$FirebaseSDKVersion = '6.13.0'
use_native_modules!
use_unimodules!(exclude: [
'unimodules-barcode-scanner-interface',
'unimodules-face-detector-interface',
'unimodules-sensors-interface',
'unimodules-task-manager-interface'
])
end
post_install do |installer|
installer.pods_project.main_group.tab_width = '2';
installer.pods_project.main_group.indent_width = '2';
# Set the deployment target of all pods
installer.target_installation_results.pod_target_installation_results
.each do |pod_name, target_installation_result|
target_installation_result.native_target.build_configurations.each do |config|
config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '10.0'
end
end
end |
Hi @yvbeek, Do you mind open a new Issue at https://github.com/Microsoft/AppCenter-SDK-React-Native repo. This issue is originally opened for iOS SDK. Your issue would be better tracked in RN SDK repo. |
Description
Compiling on Xcode 10.3 with min iOS 10 SDK and CocoaPods throws a warning: non-portable path to file '"AppCenter/appcenter-prefix.pch"'; specified path differs in case from file name on disk [-Wnonportable-include-path]
Please describe the issue you are facing or a feature you would like to be added to the SDK.
Repro Steps
Please list the steps used to reproduce your issue.
Details
pod --version
)?MSAppCenter.setLogLevel(.verbose)
before your call toMSAppCenter.start(...)
for Swift, or[MSAppCenter setLogLevel:MSLogLevelVerbose]
before[MSAppCenter start: ...]
for Objective C and include the logs here:The text was updated successfully, but these errors were encountered: