标签: beta

致命错误:ZF2 beta5骨架应用程序找不到类'Locale'

我刚刚按照给定的说明安装了ZF2beta5应用程序:

$ git clone git://github.com/zendframework/ZendSkeletonApplication.git ./
Cloning into '.'...
remote: Counting objects: 1494, done.
remote: Compressing objects: 100% (660/660), done.
remote: Total 1494 (delta 681), reused 1373 (delta 581)
Receiving objects: 100% (1494/1494), 397.42 KiB | 357 KiB/s, done.
Resolving deltas: 100% (681/681), done.

$ php composer.phar install
Installing dependencies
  - Installing zendframework/zendframework (dev-master)
    Cloning d6b0afe61149c6d0669743aab5c73285c42cd0db

zendframework/zendframework suggests installing doctrine/common (Doctrine\Common >=2.1 for annotation features)
Writing lock file
Generating autoload files
Run Code Online (Sandbox Code Playgroud)

当我访问该应用程序时,我收到以下错误:

致命错误:第220行的./vendor/zendframework/zendframework/library/Zend/I18n/Translator/Translator.php中找不到类"区域设置"

我没有Doctrine按照建议尝试安装(因为我最后不想使用Doctrine).

有人知道如何解决这个问题吗?

beta zend-framework2

14
推荐指数
1
解决办法
2万
查看次数

'openParentApplication(_:reply :)'在这里明确标记为不可用 - Xcode 7 Beta

更新到Xcode 7 beta后,我收到以下错误消息:"'openParentApplication(_:reply :)'在此处显式标记为不可用",运行代码行时"WKInterfaceController.openParentApplication"

这是我的实际代码:

func getData(messageText: String) {
    let infoDictionary = ["message" : messageText]
    WKInterfaceController.openParentApplication(infoDictionary) {
        (replyDictionary, error) -> Void in

        if let castedResponseDictionary = replyDictionary as? [String: String],
            responseMessage = castedResponseDictionary["message"]
        {
            print(responseMessage)
        }
    }
}
Run Code Online (Sandbox Code Playgroud)

beta xcode ios swift watchkit

13
推荐指数
1
解决办法
6282
查看次数

终端命令控制macOS中的夜班

有没有人知道在10.12.4 beta中控制夜班的终端命令?我一直在查看plist文件,但找不到与夜班有关的任何内容.

beta macos terminal macos-sierra

13
推荐指数
1
解决办法
2554
查看次数

如何在ios 11中以编程方式打开pdf标记

标记为PDF是在共享片一个新的选项在IOS 11,我会得到在我的用户界面,动作的按钮,使得当用户点击该按钮的PDF标记视图(参照下面的图)示出了.

在此输入图像描述

提前致谢

pdf iphone beta ios ios11

13
推荐指数
1
解决办法
1243
查看次数

使用scipy.optimize和loglikelihood查找beta-binomial分布的alpha和beta

如果在二项分布中p成功的概率具有形状参数α> 0β> 0的β分布,则分布是β二项式.形状参数定义成功的概率.我想从β二项分布的角度找到最能描述我的数据的αβ的值.我的数据集players 包括许多棒球运动员的命中数(H),击球次数(AB)和转换次数(H/AB)的数据.我在Python的Beta二项功能中借助JulienD的答案来估算PDF

from scipy.special import beta
from scipy.misc import comb

pdf = comb(n, k) * beta(k + a, n - k + b) / beta(a, b)
Run Code Online (Sandbox Code Playgroud)

接下来,我写了一个loglikelihood函数,我们将最小化.

def loglike_betabinom(params, *args):
   """
   Negative log likelihood function for betabinomial distribution
   :param params: list for parameters to be fitted.
   :param args:  2-element array containing the sample data.
   :return: negative log-likelihood to be …
Run Code Online (Sandbox Code Playgroud)

python beta distribution scipy binomial-theorem

13
推荐指数
1
解决办法
618
查看次数

部署Beta软件更新和Sparkle

我的应用程序使用Cocoa Framework Sparkle来部署更新.我通常不会部署我的软件的测试版,但对于我的下一次更新,我觉得我需要.我的问题是使用Sparkle部署beta的最佳编号策略是什么.对于测试我的测试版的任何人,当我发布下一个正式版时,我希望更新是无缝的,但对于其他用户,我希望整个系统完全不可见.我目前使用像1.2.3这样的编号系统来进行更新.

beta cocoa frameworks

12
推荐指数
3
解决办法
2047
查看次数

Xcode beta 6错误

对于在Bata 6中遇到类似问题的任何人,我通过删除/ Users/[您的用户名]/Library/Developer/Xcode/DerivedData中的内容解决了这个问题,这可以在这篇文章中看到.在Swift中突然出现编译器崩溃"arrayForceCast" XCode beta 6

原帖:

我刚刚安装了Xcode beta 6,并且遇到了非常不寻常的错误.我无法弄清楚它们是什么.

Undefined symbols for architecture arm64:
"__TFSsoi1oUSs17_RawOptionSetType_USs21BitwiseOperationsTypeSs9Equatable__FTQ_Q__Q_",   referenced from:
  __TFC9CoolSpots29ProfileSettingsViewController13turnOnOffPushfS0_FCSo8UISwitchT_ in ProfileSettingsViewController.o
  __TFC9CoolSpots11AppDelegate11applicationfS0_FTCSo13UIApplication29didFinishLaunchingWithOptionsGSqCSo12NSDictionary__Sb in AppDelegate.o
"__TFSs15_arrayForceCastU___FGSaQ__GSaQ0__", referenced from:
  __TFC9CoolSpots8LocationcfMS0_FT6objectCSo8PFObject_S0_ in Location.o
  __TFC9CoolSpots19ShareViewController7mapViewfS0_FTGSQCSo9MKMapView_21didAddAnnotationViewsGSQGSaPSs9AnyObject____T_ in ShareViewController.o
  __TFC9CoolSpots23LoginMenuViewController7FBLoginfS0_FT_T_ in LoginMenuViewController.o
  __TFC9CoolSpots21ProfileViewController7mapViewfS0_FTGSQCSo9MKMapView_21didAddAnnotationViewsGSQGSaPSs9AnyObject____T_ in ProfileViewController.o
  __TFFC9CoolSpots21ProfileViewController11viewDidLoadFS0_FT_T_U_FTGSqGSaPSs9AnyObject___GSqCSo7NSError__T_ in ProfileViewController.o
  __TFFFC9CoolSpots21ProfileViewController11viewDidLoadFS0_FT_T_U_FTGSqGSaPSs9AnyObject___GSqCSo7NSError__T_U0_FTGSqGSaPS1____GSqS2___T_ in ProfileViewController.o
  __TFFFC9CoolSpots21ProfileViewController11viewDidLoadFS0_FT_T_U0_FTGSqCSo8PFObject_GSqCSo7NSError__T_U0_FTGSqGSaPSs9AnyObject___GSqS2___T_ in ProfileViewController.o
  ...
"__TFSs26_forceBridgeFromObjectiveCU__FTPSs9AnyObject_MQ__Q_", referenced from:
  __TFC9CoolSpots8LocationcfMS0_FT11coordinatesVSC22CLLocationCoordinate2D15relatedActivityCSo7NSArray8objectIdSS7addressSS_S0_ in Location.o
  __TFC9CoolSpots8LocationcfMS0_FT6objectCSo8PFObject_S0_ in Location.o
  __TFC9CoolSpots19ShareViewController14viewWillAppearfS0_FSbT_ in ShareViewController.o
  __TFC9CoolSpots19ShareViewController15prepareForSeguefS0_FTGSQCSo17UIStoryboardSegue_6senderGSQPSs9AnyObject___T_ in ShareViewController.o
  __TFC9CoolSpots19ShareViewController21cameraViewTookPicturefS0_FCSo7UIImageT_ in ShareViewController.o
  __TFFC9CoolSpots19ShareViewController14reverseGeocodeFS0_FGSqCSo10CLLocation_T_U_FTGSQGSaPSs9AnyObject___GSQCSo7NSError__T_ in ShareViewController.o
  __TFC9CoolSpots27ActivityTableViewController11viewDidLoadfS0_FT_T_ in ActivityTableViewController.o
  ...
ld: symbol(s) not found for …
Run Code Online (Sandbox Code Playgroud)

beta xcode compiler-errors

12
推荐指数
2
解决办法
2517
查看次数

Apple的TestFlight应用程序是否自动更新外部Beta测试人员已安装的应用程序?

我可以从我的iTunes连接控制面板上看到我测试的每个版本的应用程序上有多少用户.TestFlight何时更新这些应用程序?他们是否必须打开TestFlight并手动选择更新?当他们启动他们正在测试的应用程序时会自动发生吗?

我似乎无法在Apple的文档中找到任何答案.

beta itunesconnect ios testflight

12
推荐指数
2
解决办法
1万
查看次数

键命令必须都有标题,键和选择器

我收到和错误,当试图建立时,Xcode 8.0 Beta 4的,而当我建立它说:"错误:非法配置:键盘命令都必须有一个标题,重点,并选择在表中选择每一行进行检查.它的配置."

它不在TableView或任何东西上,它里面有一个带有Stack View的UIView和一些按钮,就是它.

这是在Storyboard文件中我收到错误

我无法弄清楚那可能是什么?

beta ios swift

12
推荐指数
2
解决办法
7368
查看次数

SwiftData IOS 17 数组按随机顺序排列?

当我使用 @Model 宏时,为什么我的数组的顺序是随机的。

class TestModel {
var name: String?
var array: \[TestModel2\]

    init(name: String = "") {
        self.name = name
        array = []
    }

}

class TestModel2 {
var name: String?

    init(name: String = "") {
        self.name = name
    }

}
Run Code Online (Sandbox Code Playgroud)

这工作正常,并且所有项目都array按照我添加的顺序排列。

但如果我将它们都声明为@Model,如下所示:


@Model
class TestModel {
var name: String?
var array: \[TestModel2\]

    init(name: String = "") {
        self.name = name
        array = []
    }

}

@Model
class TestModel2 {
var name: String?

    init(name: String = …
Run Code Online (Sandbox Code Playgroud)

beta ios swift swift-data

12
推荐指数
1
解决办法
1408
查看次数