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

310
Views
Swift error while starting app, after update to Xcode 10.2 beta 3

After updating Xcode to 10.2 beta 3, I receive this error while starting app, which will result in crash (app compiles successfully):

objc[2140]: Swift class extensions and categories on Swift classes are not allowed to have +load methods (lldb)

Do you know what this may be due to?

over 4 years ago · Santiago Trujillo
2 answers
Answer question

0

In my case, it is because I added a module which uses Swift to my ReactNative project. In this issue they discussed this bug and there were several solutions.

The official solution is to upgrade RN to 0.59.3+, but it may influence too much for me and I would not to do that for now, so I edited RCTBridgeModule.h according to this commit as a workaround and it works.

over 4 years ago · Santiago Trujillo Report

0

Some of your dependencies can have +load methods. In my case, there were Firebase and Swinject cocoapods.

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!