草庐IT

ios - 如何解决体系结构 x86_64 类型为 'sourcecode.module-map' 的问题 : no rule to process file/FBSDKCoreKit. 模块映射'

coder 2023-09-08 原文

我正在创建一个应用程序,我正处于设置 Firebase 社交登录的第一步,我突然遇到了这个错误,

显示最近的问题

:-1: no rule to process file '/Users/Al/Desktop/CB.FireBaseSocialLogin/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/Basics/FBSDKCoreKit.modulemap' of type 'sourcecode.module-map' for architecture 'x86_64' (in target 'FBSDKCoreKit')

没有显示其他错误,应用程序运行时显示空白屏幕。我的编译器源中的头文件是 AppDelegate.swift 和 ViewController.swift。

我正在使用 Xcode 10.2.1

///这是我看到的输出:

2019-05-28 12:43:56.393901+0300 CB.FireBaseSocialLogin[7764:612343] : Please set a value for FacebookAutoLogAppEventsEnabled. Set the flag to TRUE if you want to collect app install, app launch and in-app purchase events automatically. To request user consent before collecting data, set the flag value to FALSE, then change to TRUE once user consent is received. Learn more: https://developers.facebook.com/docs/app-events/getting-started-app-events-ios#disable-auto-events. 2019-05-28 12:43:56.394525+0300 CB.FireBaseSocialLogin[7764:612343] : You haven't set a value for FacebookAdvertiserIDCollectionEnabled. Set the flag to TRUE if you want to collect Advertiser ID for better advertising and analytics results. To request user consent before collecting data, set the flag value to FALSE, then change to TRUE once user consent is received. Learn more: https://developers.facebook.com/docs/app-events/getting-started-app-events-ios#disable-auto-events. 2019-05-28 12:43:56.437230+0300 CB.FireBaseSocialLogin[7764:612343] libMobileGestalt MobileGestalt.c:890: MGIsDeviceOneOfType is not supported on this platform. 2019-05-28 12:43:56.440128+0300 CB.FireBaseSocialLogin[7764:612520] - [I-ACS036002] Analytics screen reporting is enabled. Call +[FIRAnalytics setScreenName:setScreenClass:] to set the screen name or override the default screen class name. To disable screen reporting, set the flag FirebaseScreenReportingEnabled to NO (boolean) in the Info.plist 2019-05-28 12:43:56.497990+0300 CB.FireBaseSocialLogin[7764:612343] Unknown class _TtC22CB_FireBaseSocialLogin14ViewController in Interface Builder file. 2019-05-28 12:43:56.535539+0300 CB.FireBaseSocialLogin[7764:612343] Falling back to loading access token from NSUserDefaults because of simulator bug 2019-05-28 12:43:56.535719+0300 CB.FireBaseSocialLogin[7764:612343] Falling back to storing access token in NSUserDefaults because of simulator bug 2019-05-28 12:43:56.566347+0300 CB.FireBaseSocialLogin[7764:612343] FBSDKLog: FBSDKGraphRequestConnection cannot be started before Facebook SDK initialized. 2019-05-28 12:43:56.582737+0300 CB.FireBaseSocialLogin[7764:612343] FBSDKLog: FBSDKGraphRequestConnection cannot be started before Facebook SDK initialized. 2019-05-28 12:43:56.583098+0300 CB.FireBaseSocialLogin[7764:612343] FBSDKLog: FBSDKGraphRequestConnection cannot be started before Facebook SDK initialized. 2019-05-28 12:43:56.588004+0300 CB.FireBaseSocialLogin[7764:612526] 6.0.0 - [Firebase/Analytics][I-ACS023007] Analytics v.60000000 started 2019-05-28 12:43:56.588883+0300 CB.FireBaseSocialLogin[7764:612526] 6.0.0 - [Firebase/Analytics][I-ACS023008] To enable debug logging set the following application argument: -FIRAnalyticsDebugEnabled (see http:1234567890) 2019-05-28 12:43:56.621611+0300 CB.FireBaseSocialLogin[7764:612343] [MC] System group container for systemgroup.com.apple.configurationprofiles path is /Users/Al/Library/Developer/CoreSimulator/Devices/A4CCED21-B5C8-4C67-81A5-2BC39E842757/data/Containers/Shared/SystemGroup/systemgroup.com.apple.configurationprofiles 2019-05-28 12:43:56.621979+0300 CB.FireBaseSocialLogin[7764:612343] [MC] Reading from private effective user settings. 2019-05-28 12:43:57.138534+0300 CB.FireBaseSocialLogin[7764:612526] [BoringSSL] nw_protocol_boringssl_get_output_frames(1301) [C1.1:2][0x7f9759a04710] get output frames failed, state 8196 2019-05-28 12:43:57.138675+0300 CB.FireBaseSocialLogin[7764:612526] [BoringSSL] nw_protocol_boringssl_get_output_frames(1301) [C1.1:2][0x7f9759a04710] get output frames failed, state 8196 2019-05-28 12:43:57.139153+0300 CB.FireBaseSocialLogin[7764:612526] TIC Read Status [1:0x0]: 1:57 2019-05-28 12:43:57.139250+0300 CB.FireBaseSocialLogin[7764:612526] TIC Read Status [1:0x0]: 1:57 2019-05-28 12:43:57.215138+0300 CB.FireBaseSocialLogin[7764:612528] [BoringSSL] nw_protocol_boringssl_get_output_frames(1301) [C2.1:2][0x7f9759b01f60] get output frames failed, state 8196 2019-05-28 12:43:57.215290+0300 CB.FireBaseSocialLogin[7764:612528] [BoringSSL] nw_protocol_boringssl_get_output_frames(1301) [C2.1:2][0x7f9759b01f60] get output frames failed, state 8196 2019-05-28 12:43:57.215539+0300 CB.FireBaseSocialLogin[7764:612528] TIC Read Status [2:0x0]: 1:57 2019-05-28 12:43:57.215624+0300 CB.FireBaseSocialLogin[7764:612528] TIC Read Status [2:0x0]: 1:57 2019-05-28 12:43:57.366695+0300 CB.FireBaseSocialLogin[7764:612528] [BoringSSL] nw_protocol_boringssl_get_output_frames(1301) [C3.1:2][0x7f97574138a0] get output frames failed, state 8196 2019-05-28 12:43:57.366837+0300 CB.FireBaseSocialLogin[7764:612528] [BoringSSL] nw_protocol_boringssl_get_output_frames(1301) [C3.1:2][0x7f97574138a0] get output frames failed, state 8196 2019-05-28 12:43:57.367263+0300 CB.FireBaseSocialLogin[7764:612528] TIC Read Status [3:0x0]: 1:57 2019-05-28 12:43:57.367555+0300 CB.FireBaseSocialLogin[7764:612528] TIC Read Status [3:0x0]: 1:57

最佳答案

找到了如何删除警告..

  1. 选择您的 Pod 项目
  2. 在目标列表中选择 FBSDKCoreKit
  3. 从顶部选择“构建阶段”选项卡。
  4. 展开编译源选项卡
  5. 在列表中搜索“FBSDKCoreKit.modulemap”.. (Uggghhhhh)
  6. 选择它.. 向下滚动.. 然后点击“-”(减号)。
  7. 祝您生活愉快!

关于ios - 如何解决体系结构 x86_64 类型为 'sourcecode.module-map' 的问题 : no rule to process file/FBSDKCoreKit. 模块映射',我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/56339412/

有关ios - 如何解决体系结构 x86_64 类型为 'sourcecode.module-map' 的问题 : no rule to process file/FBSDKCoreKit. 模块映射'的更多相关文章

  1. ruby - 在 Ruby 中使用匿名模块 - 2

    假设我做了一个模块如下:m=Module.newdoclassCendend三个问题:除了对m的引用之外,还有什么方法可以访问C和m中的其他内容?我可以在创建匿名模块后为其命名吗(就像我输入“module...”一样)?如何在使用完匿名模块后将其删除,使其定义的常量不再存在? 最佳答案 三个答案:是的,使用ObjectSpace.此代码使c引用你的类(class)C不引用m:c=nilObjectSpace.each_object{|obj|c=objif(Class===objandobj.name=~/::C$/)}当然这取决于

  2. ruby-on-rails - Ruby net/ldap 模块中的内存泄漏 - 2

    作为我的Rails应用程序的一部分,我编写了一个小导入程序,它从我们的LDAP系统中吸取数据并将其塞入一个用户表中。不幸的是,与LDAP相关的代码在遍历我们的32K用户时泄漏了大量内存,我一直无法弄清楚如何解决这个问题。这个问题似乎在某种程度上与LDAP库有关,因为当我删除对LDAP内容的调用时,内存使用情况会很好地稳定下来。此外,不断增加的对象是Net::BER::BerIdentifiedString和Net::BER::BerIdentifiedArray,它们都是LDAP库的一部分。当我运行导入时,内存使用量最终达到超过1GB的峰值。如果问题存在,我需要找到一些方法来更正我的代

  3. ruby-on-rails - rails : "missing partial" when calling 'render' in RSpec test - 2

    我正在尝试测试是否存在表单。我是Rails新手。我的new.html.erb_spec.rb文件的内容是:require'spec_helper'describe"messages/new.html.erb"doit"shouldrendertheform"dorender'/messages/new.html.erb'reponse.shouldhave_form_putting_to(@message)with_submit_buttonendendView本身,new.html.erb,有代码:当我运行rspec时,它失败了:1)messages/new.html.erbshou

  4. ruby-on-rails - 'compass watch' 是如何工作的/它是如何与 rails 一起使用的 - 2

    我在我的项目目录中完成了compasscreate.和compassinitrails。几个问题:我已将我的.sass文件放在public/stylesheets中。这是放置它们的正确位置吗?当我运行compasswatch时,它不会自动编译这些.sass文件。我必须手动指定文件:compasswatchpublic/stylesheets/myfile.sass等。如何让它自动运行?文件ie.css、print.css和screen.css已放在stylesheets/compiled。如何在编译后不让它们重新出现的情况下删除它们?我自己编译的.sass文件编译成compiled/t

  5. ruby - 在 64 位 Snow Leopard 上使用 rvm、postgres 9.0、ruby 1.9.2-p136 安装 pg gem 时出现问题 - 2

    我想为Heroku构建一个Rails3应用程序。他们使用Postgres作为他们的数据库,所以我通过MacPorts安装了postgres9.0。现在我需要一个postgresgem并且共识是出于性能原因你想要pggem。但是我对我得到的错误感到非常困惑当我尝试在rvm下通过geminstall安装pg时。我已经非常明确地指定了所有postgres目录的位置可以找到但仍然无法完成安装:$envARCHFLAGS='-archx86_64'geminstallpg--\--with-pg-config=/opt/local/var/db/postgresql90/defaultdb/po

  6. ruby - 通过 rvm 升级 ruby​​gems 的问题 - 2

    尝试通过RVM将RubyGems升级到版本1.8.10并出现此错误:$rvmrubygemslatestRemovingoldRubygemsfiles...Installingrubygems-1.8.10forruby-1.9.2-p180...ERROR:Errorrunning'GEM_PATH="/Users/foo/.rvm/gems/ruby-1.9.2-p180:/Users/foo/.rvm/gems/ruby-1.9.2-p180@global:/Users/foo/.rvm/gems/ruby-1.9.2-p180:/Users/foo/.rvm/gems/rub

  7. ruby-on-rails - Rails 3.2.1 中 ActionMailer 中的未定义方法 'default_content_type=' - 2

    我在我的项目中添加了一个系统来重置用户密码并通过电子邮件将密码发送给他,以防他忘记密码。昨天它运行良好(当我实现它时)。当我今天尝试启动服务器时,出现以下错误。=>BootingWEBrick=>Rails3.2.1applicationstartingindevelopmentonhttp://0.0.0.0:3000=>Callwith-dtodetach=>Ctrl-CtoshutdownserverExiting/Users/vinayshenoy/.rvm/gems/ruby-1.9.3-p0/gems/actionmailer-3.2.1/lib/action_mailer

  8. ruby-on-rails - 在混合/模块中覆盖模型的属性访问器 - 2

    我有一个包含模块的模型。我想在模块中覆盖模型的访问器方法。例如:classBlah这显然行不通。有什么想法可以实现吗? 最佳答案 您的代码看起来是正确的。我们正在毫无困难地使用这个确切的模式。如果我没记错的话,Rails使用#method_missing作为属性setter,因此您的模块将优先,阻止ActiveRecord的setter。如果您正在使用ActiveSupport::Concern(参见thisblogpost),那么您的实例方法需要进入一个特殊的模块:classBlah

  9. ruby - 在 jRuby 中使用 'fork' 生成进程的替代方案? - 2

    在MRIRuby中我可以这样做:deftransferinternal_server=self.init_serverpid=forkdointernal_server.runend#Maketheserverprocessrunindependently.Process.detach(pid)internal_client=self.init_client#Dootherstuffwithconnectingtointernal_server...internal_client.post('somedata')ensure#KillserverProcess.kill('KILL',

  10. ruby - 主要 :Object when running build from sublime 的未定义方法 `require_relative' - 2

    我已经从我的命令行中获得了一切,所以我可以运行rubymyfile并且它可以正常工作。但是当我尝试从sublime中运行它时,我得到了undefinedmethod`require_relative'formain:Object有人知道我的sublime设置中缺少什么吗?我正在使用OSX并安装了rvm。 最佳答案 或者,您可以只使用“require”,它应该可以正常工作。我认为“require_relative”仅适用于ruby​​1.9+ 关于ruby-主要:Objectwhenrun

随机推荐