草庐IT

check_installed

全部标签

ios - 我在对私有(private) gitlab pod/项目容器执行 "No podspec found"时收到一条 "pod install"消息

我正在进行一些CocoaPods项目,试图构建我自己的私有(private)Pod,可以通过我的主项目中的“podinstall”访问。这是一个Swift项目,一切似乎都在工作,阅读适当的教程等......我不得不说我已经使用cocoapods有一段时间了,但我有点新构建我自己的pod并将它们存储在我的私有(private)gitlab空间中。这似乎是我的问题:显然我不知道如何将我最近创建的pod正确存储在我的gitlab空间中。此外,运行“podinstall”无法获取我的podspec文件。我现在拥有的是一个带有Podfile的主项目。在这个项目中,我对我的pod进行了下一个简单的

ios - 使用自动布局以编程方式添加 View 给出 'NSGenericException' ,原因 : 'Unable to install constraint on view

我正在使用[self.viewaddSubview:myView]添加一个View作为subview.这在纵向模式下工作正常。但是,它在风景中根本不起作用。如何以编程方式添加布局约束?我的View目前看起来像纵向矩形,我需要它在横向模式下看起来像横向矩形。我尝试了这段代码以查看代码中的约束如何工作,但它总是导致异常。代码是:[self.viewaddSubview:_preView];NSLayoutConstraint*myConstraint=[NSLayoutConstraintconstraintWithItem:_preViewattribute:NSLayoutAttrib

ios - 织物 Beta 测试 : I can't install beta app

我正在使用fabric进行Beta测试。我从Crashlytics收到了有关Beta版应用程序的通知。标题为“XXXv1.0.0(5)已准备好测试”。我希望我能在安装页面上看到一个下载按钮,但我找不到。接下来我该怎么办?任何帮助将不胜感激。我附上了屏幕截图。谢谢。 最佳答案 我遇到了同样的问题,我的解决方案是确保开发配置文件用于构建应用程序。就我而言,我有两种不同的配置文件,一种用于分发,一种用于开发。我使用带健身房的faSTLane来构建存档。我的失败是没有指定它应该使用什么配置文件。失败是通过调用gym而没有明确说明使用开发配置

ios - FB iOS 登录 - "The app must ask for a basic_info permission at install time."

我在AppStore中有一个应用程序调用了openActiveSessionWithReadPermission,如下所示:[FBSessionopenActiveSessionWithReadPermissions:@[@"email"]allowLoginUI:YEScompletionHandler:^(FBSession*session,FBSessionStatestate,NSError*error){[selfsessionStateChanged:sessionstate:stateerror:error];}];SDK版本为3.5。升级到这个最新版本时,我错过了登录A

ios - "sudo pod install"错误

我已经有一个使用podfile的项目。我想在一个旧项目上添加一个Podfile但我在sudopod安装错误:Resolvingdependenciesof`./Podfile'Updatingspecrepositories[!]gitpullUpdating35bbbaf..8b42708error:Thefollowinguntrackedworkingtreefileswouldbeoverwrittenbymerge:AFXAuthClient/1.0.4/AFXAuthClient.podspecPleasemoveorremovethembeforeyoucanmerge.

ios - Xcode - 单元测试 : Test session exited(-1) without checking in

我在XCode中进行单元测试时遇到了严重的问题。我在OSXYosemite和OSXCapitan上使用XCode6.4构建版本6E35b。结果我有这样的错误:_finishWithError:ErrorDomain=IDEUnitTestsOperationsObserverErrorDomainCode=3"Testsessionexited(-1)withoutcheckingin."UserInfo=0x7fbfea2b60b0{NSLocalizedDescription=Testsessionexited(-1)withoutcheckingin.}didCancel:1堆栈

git check-pick,git patch 与 git stash 详解

大家好,我是17。今天和大家聊一聊gitcheck-pick,gitpatch与gitstash的用法。gitcherry-pick为什么要用cherry-pick?不适合merge的场景就可以考虑cherry-pick。试想下面这些场景只想同步分支的部分提交。两个分支是两上完全独立的feature,不适合merge。不想过早的同步分支。下面举几个例子。dev为分支,A、B为commit。gitcherry-pickdev将dev分支的最近一次提交,转移到当前分支。gitcherry-pickA可以转移有权访问的任意分支的任意提交。gitcherry-pickAB一次可以同步多个提交转移从A到

android - 异常 : AAPT2 error: check logs for details

Task:processDebugResourcesFailedtoexecuteaaptcom.android.ide.common.process.ProcessException:Failedtoexecuteaaptatcom.android.builder.core.AndroidBuilder.processResources(AndroidBuilder.java:796)atcom.android.build.gradle.tasks.ProcessAndroidResources.invokeAaptForSplit(ProcessAndroidResources.j

android - 异常 : AAPT2 error: check logs for details

Task:processDebugResourcesFailedtoexecuteaaptcom.android.ide.common.process.ProcessException:Failedtoexecuteaaptatcom.android.builder.core.AndroidBuilder.processResources(AndroidBuilder.java:796)atcom.android.build.gradle.tasks.ProcessAndroidResources.invokeAaptForSplit(ProcessAndroidResources.j

ios - Swift 单元测试 : module name of object class causes type check to fail

我已经在我的项目中进行了几周的单元测试,到目前为止它们一直运行良好。我的一个新单元测试实例化了我的一个自定义ViewController。所述ViewController实例化并添加类型为CoolSearchBar的subview,这是我自己创建的一个类(.swift文件和.xib文件)。在上述ViewController中,我以编程方式加载了CoolSearchBar实例,然后将其添加到View层次结构中,如下所示:guardletsearchBar=Bundle.main.loadNibNamed(String(describing:CoolSearchBar.self),owne