Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/joomla/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Iphone 如何将架构armv7、armv7s添加到{name}.framework?_Iphone_Ios_Xcode_Frameworks_Armv7 - Fatal编程技术网

Iphone 如何将架构armv7、armv7s添加到{name}.framework?

Iphone 如何将架构armv7、armv7s添加到{name}.framework?,iphone,ios,xcode,frameworks,armv7,Iphone,Ios,Xcode,Frameworks,Armv7,我正在iOS应用程序中使用。她是为MacOSX构建的,当我在模拟器上运行它时,一切正常。但当我在设备上运行时,会出现以下错误: Undefined symbols for architecture armv7: "vtable for MusicXML2::xmlreader", referenced from: MusicXML2::xmlreader::~xmlreader() in TransposerLibXML.o MusicXML2::xmlrea

我正在iOS应用程序中使用。她是为MacOSX构建的,当我在模拟器上运行它时,一切正常。但当我在设备上运行时,会出现以下错误:

    Undefined symbols for architecture armv7:
  "vtable for MusicXML2::xmlreader", referenced from:
      MusicXML2::xmlreader::~xmlreader() in TransposerLibXML.o
      MusicXML2::xmlreader::xmlreader() in TransposerLibXML.o
  NOTE: a missing vtable usually means the first non-inline virtual member function has no definition.
  "MusicXML2::xmlreader::read(char const*)", referenced from:
      +[TransposerLibXML transposeFileAtPath:interval:] in TransposerLibXML.o
      +[TransposerLibXML currentKeyInrevalForFile:] in TransposerLibXML.o
      +[TransposerLibXML moodForFile:] in TransposerLibXML.o
      +[TransposerLibXML songNameForFile:] in TransposerLibXML.o
      +[TransposerLibXML composerNameForFile:] in TransposerLibXML.o
  "MusicXML2::TXMLFile::print(std::ostream&)", referenced from:
      +[TransposerLibXML transposeFileAtPath:interval:] in TransposerLibXML.o
  "MusicXML2::transposition::transposition(int)", referenced from:
      +[TransposerLibXML transposeFileAtPath:interval:] in TransposerLibXML.o
  "vtable for MusicXML2::xml_tree_browser", referenced from:
      MusicXML2::xml_tree_browser::xml_tree_browser(MusicXML2::basevisitor*) in TransposerLibXML.o
  NOTE: a missing vtable usually means the first non-inline virtual member function has no definition.
  "MusicXML2::xmlelement::getAttributeValue(std::string const&) const", referenced from:
      composernamevisitor::visitStart(MusicXML2::SMARTP<MusicXML2::musicxml<52> >&) in TransposerLibXML.o
  "MusicXML2::xml_tree_browser::browse(MusicXML2::xmlelement&)", referenced from:
      +[TransposerLibXML transposeFileAtPath:interval:] in TransposerLibXML.o
      +[TransposerLibXML currentKeyInrevalForFile:] in TransposerLibXML.o
      +[TransposerLibXML moodForFile:] in TransposerLibXML.o
      +[TransposerLibXML songNameForFile:] in TransposerLibXML.o
      +[TransposerLibXML composerNameForFile:] in TransposerLibXML.o
  "MusicXML2::transposition::~transposition()", referenced from:
      +[TransposerLibXML transposeFileAtPath:interval:] in TransposerLibXML.o
ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)
架构armv7的未定义符号: “vtable for MusicXML2::xmlreader”,引用自: TransposerLibXML.o中的MusicXML2::xmlreader::~xmlreader() TransportSerlibXML.o中的MusicXML2::xmlreader::xmlreader() 注意:缺少vtable通常意味着第一个非内联虚拟成员函数没有定义。 “MusicXML2::xmlreader::read(char const*)”,引用自: +TransposerLibXML.o中的[TransposerLibXML transposeFileAtPath:interval:] +TransposerLibXML.o中的[TransposerLibXML currentKeyInrevalForFile:] +TransportSerlibXML.o中的[TransportSerlibXML moodForFile:] +TransportSerlibXML.o中的[TransportSerlibXML songNameForFile:] +TransportSerlibXML.o中的[TransportSerlibXML Composer NameForFile:] “MusicXML2::TXMLFile::print(std::ostream&)”,引用自: +TransposerLibXML.o中的[TransposerLibXML transposeFileAtPath:interval:] “MusicXML2::transposition::transposition(int)”,引用自: +TransposerLibXML.o中的[TransposerLibXML transposeFileAtPath:interval:] “vtable for MusicXML2::xml_tree_browser”,引用自: TransposerLibXML.o中的MusicXML2::xml_tree_browser::xml_tree_browser(MusicXML2::basevisitor*) 注意:缺少vtable通常意味着第一个非内联虚拟成员函数没有定义。 “MusicXML2::xmlelement::getAttributeValue(std::string const&)const”,引用自: TransportSerlibXML.o中的CompositeNameVisitor::visitStart(MusicXML2::SMARTP&) “MusicXML2::xml\u tree\u browser::browse(MusicXML2::xmlelement&)”,引用自: +TransposerLibXML.o中的[TransposerLibXML transposeFileAtPath:interval:] +TransposerLibXML.o中的[TransposerLibXML currentKeyInrevalForFile:] +TransportSerlibXML.o中的[TransportSerlibXML moodForFile:] +TransportSerlibXML.o中的[TransportSerlibXML songNameForFile:] +TransportSerlibXML.o中的[TransportSerlibXML Composer NameForFile:] “MusicXML2::transposition::~transposition()”,引用自: +TransposerLibXML.o中的[TransposerLibXML transposeFileAtPath:interval:] ld:未找到架构armv7的符号 叮当声:错误:链接器命令失败,退出代码为1(使用-v查看调用)
如何添加对libmusicxml2.framework的armv7支持?请提供帮助。

您需要重新构建iOS SDK框架。它有不同的项目文件结构,而且SDK支持完全不同的功能集:OSX中支持的许多方法和类在iOS中不受支持。您可以尝试从头开始为iOS创建项目文件,但这将是一项具有挑战性的任务,并且由于SDK不兼容,无法保证成功。也许你可以向框架的作者寻求帮助