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

487
Views
Problemas al agregar la extensión de hoy a la aplicación flutter

Escribí una aplicación en Flutter y estoy buscando agregarle una extensión nativa de iOS hoy. Agregué el objetivo del widget, pero cuando intento construir, la compilación falla porque el objetivo de la extensión de la aplicación no puede encontrar bibliotecas de aleteo específicas (lo que no tiene sentido ya que no las usaría de todos modos).

Por lo que puedo deducir, ¿el proyecto xCode está tratando de incluir bibliotecas Flutter con todos los objetivos?

Aquí está el error:

 ld: warning: directory not found for option '-F/Users/nickmowen/Library/Developer/Xcode/DerivedData/Runner-egikkgpuyfdkbcconodjborapzme/Build/Products/Debug-iphoneos/share' ld: warning: directory not found for option '-F/Users/nickmowen/Library/Developer/Xcode/DerivedData/Runner-egikkgpuyfdkbcconodjborapzme/Build/Products/Debug-iphoneos/shared_preferences' ld: warning: directory not found for option '-F/Users/nickmowen/Library/Developer/Xcode/DerivedData/Runner-egikkgpuyfdkbcconodjborapzme/Build/Products/Debug-iphoneos/sqflite' ld: warning: directory not found for option '-F/Users/nickmowen/Library/Developer/Xcode/DerivedData/Runner-egikkgpuyfdkbcconodjborapzme/Build/Products/Debug-iphoneos/url_launcher' ld: framework not found FMDB clang: error: linker command failed with exit code 1 (use -v to see invocation)

¿Algunas ideas para arreglar esto? ¡Gracias!

Editar:

Entrar en Pods y habilitar el código de bits para cada una de las bibliotecas flutter allí eliminó un montón de errores, pero luego recibo este error:

 ld: '/Users/nickmowen/Library/Android/flutter/bin/cache/artifacts/engine/ios/Flutter.framework/Flutter' does not contain bitcode. You must rebuild it with bitcode enabled (Xcode setting ENABLE_BITCODE), obtain an updated library from the vendor, or disable bitcode for this target. file '/Users/nickmowen/Library/Android/flutter/bin/cache/artifacts/engine/ios/Flutter.framework/Flutter' for architecture arm64 clang: error: linker command failed with exit code 1 (use -v to see invocation)
over 4 years ago · Santiago Trujillo
2 answers
Answer question

0

Esto funciona para mí.

Proyecto -> Configuración de construcción -> Habilitar código de bits establecido en 'NO'

Imagen

over 4 years ago · Santiago Trujillo Report

0

Después fresh extensión de hoy agregada, no es necesario habilitar el código de bits , solo overwrite la configuración en Target: Today Extension :

  • LIBRARY_SEARCH_PATHS = "";
  • OTHER_LDFLAGS = ""; o OTHER_LDFLAGS = "-ObjC";

Tal vez necesite borrar DerivedData

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!