Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

444
Views
getting an issue with upgrade to Xcode 10.2

I have a series of errors after upgrading to the newest Xcode.

MyApp/Pods/Protobuf/objectivec/google/protobuf/Any.pbobjc.m:17:10: Non-portable path to file '<protobuf/Any.pbobjc.h>'; specified path differs in case from file name on disk

When I look at the code I see the path is indeed capitalised.

#import <Protobuf/Any.pbobjc.h>

Are there any suggestions how to deal with this issue?

My pod file looks like this:

# Uncomment the next line to define a global platform for your project
platform :ios, '10.0'

target 'MyApp' do
  # Comment the next line if you're not using Swift and don't want to use dynamic frameworks
  use_frameworks!

  # Pods for MyApp
  pod 'Firebase/Core'
  pod 'Firebase/Storage'
  pod 'Firebase/Database'
  pod 'Firebase/Firestore'
  pod 'Firebase/Auth'
  pod 'Firebase/AdMob'

  # Pods for PodTest
  pod 'Fabric'
  pod 'Crashlytics'


  target 'MyAppTests' do
      inherit! :search_paths
      # Pods for testing
  end

  target 'MyAppUITests' do
      # inherit! :search_paths
      # Pods for testing
  end
end

So far, I've tried deintegrating and reinstalling all pod files but the errors stick.

over 4 years ago · Santiago Trujillo
2 answers
Answer question

0

This is caused by the code being compiled on a case-insensitive filesystem, where the two files:

In the source code file Protobuf/objectivec/google/protobuf/Any.pbobjc.m -

Directory and file on your machine:

Both of these point to the same file on a cave-insensitive filesystem. That is, on a filesystem that treats the directories Protobuf and protobuf as the same.

BUT, if you copy that same directory structure to a case-sensitive filesystem, then the source code will be looking for a directory different from the one actually created on the case-insensitive filesystem.

This warning is basically a reminder that there is a "gotcha" just waiting to happen.

The ultimate answer is to have the protobuf CocoaPod fix the currently-17 warnings by changing their protocol buffer compiler.

Until then, you can "disable" this warning by adding the C++ compiler option "-Wno-nonportable-include-path" to either every file with this issue, or The project as a whole. This C++ Compiler option goes into the "Apple Clang - Custom Compiler Flags" section, in the "Other Warning Flags" line.

over 4 years ago · Santiago Trujillo Report

0

Please delete Derived Data,

You can go to File > Workspace Settings if you are in a workspace environment or File > Project Settings for a regular project environment. Then click over the little grey arrow under Derived data section and select your project folder to delete it.

Than deintegrate and reinstalling all pod files again.

Hope this works for you!

over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!