faltando arquitetura necessária x86_64 no arquivo libCorePlot-CocoaTouch.a

De acordo comTutorial Ray Wenderlich, Fiz o seguinte:

Passo 1 - Eu baixeiCorePlot_1.4.zip no site oficial

Passo 2 - Eu adicionei ao meu projetoPasta CorePlotHeaders e abiblioteca estática chamada libCorePlot-CocoaTouch.a (verificação“Copiar itens para a pasta do grupo de destino (se necessário)”)

Etapa 3 - Eu adicioneiOutro campo de bandeiras do vinculador Os seguintes :-ObjC

Passo 4 - eu verifiquei emLink binário com bibliotecas E selibCorePlot-CocoaTouch.a eQuartzCore frameworks estavam aqui

Resultado: Quando eu compilo meu projeto, funciona bem quando estou usandoIphone Retina (4 polegadas). Mas quando estou usandoIphone Retina (4-polegadas 64 bits) Recebi a seguinte mensagem quando tento criar e executar:

ld: warning: ignoring file /blah/blah/libCorePlot-CocoaTouch.a, missing required architecture x86_64 in file /blah/blah/libCorePlot-CocoaTouch.a (3 slices)

Aqui a mensagem completa:

ld: warning: ignoring file /Users/me/Desktop/project/libCorePlot-CocoaTouch.a, missing required architecture x86_64 in file /Users/me/Desktop/project/libCorePlot-CocoaTouch.a (3 slices)
Undefined symbols for architecture x86_64:
"_CPTDecimalFromCGFloat", referenced from:
  -[PatientConstanteVisualiser configurePlots] in PatientConstanteVisualiser.o
  -[PatientConstanteVisualiser configureAxes] in PatientConstanteVisualiser.o
"_CPTDecimalFromInteger", referenced from:
  -[PatientConstanteVisualiser configureAxes] in PatientConstanteVisualiser.o
"_OBJC_CLASS_$_CPTAxisLabel", referenced from:
  objc-class-ref in PatientConstanteVisualiser.o
"_OBJC_CLASS_$_CPTColor", referenced from:
  objc-class-ref in PatientConstanteVisualiser.o
"_OBJC_CLASS_$_CPTFill", referenced from:
  objc-class-ref in PatientConstanteVisualiser.o
"_OBJC_CLASS_$_CPTMutableLineStyle", referenced from:
  objc-class-ref in PatientConstanteVisualiser.o
"_OBJC_CLASS_$_CPTMutableTextStyle", referenced from:
  objc-class-ref in PatientConstanteVisualiser.o
"_OBJC_CLASS_$_CPTPlotSymbol", referenced from:
  objc-class-ref in PatientConstanteVisualiser.o
"_OBJC_CLASS_$_CPTScatterPlot", referenced from:
  objc-class-ref in PatientConstanteVisualiser.o
"_OBJC_CLASS_$_CPTTheme", referenced from:
  objc-class-ref in PatientConstanteVisualiser.o
"_OBJC_CLASS_$_CPTXYGraph", referenced from:
  objc-class-ref in PatientConstanteVisualiser.o
"_kCPTStocksTheme", referenced from:
  -[PatientConstanteVisualiser configureGraph] in PatientConstanteVisualiser.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Passei várias horas sobre esta questão ... Por favor, ajude ...

questionAnswers(9)

yourAnswerToTheQuestion